Skip to content

Commit 2ca98a4

Browse files
committed
Setting up the virtual env for Pyhton and running first script
1 parent 407b010 commit 2ca98a4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

implement-cowsay/cow.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import cowsay
2+
import sys
3+
# Join all arguments after the script name into one string
4+
message = " ".join(sys.argv[1:]) or "MOO MOOO"
5+
cowsay.cow(message)

implement-cowsay/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cowsay

0 commit comments

Comments
 (0)