Skip to content

Commit 9dbaa8f

Browse files
committed
skip the first argument which is our program name and them join the result of the arguments with spaces in between
1 parent 3e46eb0 commit 9dbaa8f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

implement-cowsay/cow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
import cowsay
22
import sys
3+
4+
cowsay.cow(" ".join(sys.argv[1:]))

0 commit comments

Comments
 (0)