Skip to content

Commit 8ffae60

Browse files
committed
Fix: remove print() to avoid None output from cowsay functions
1 parent d414f10 commit 8ffae60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

implement-cowsay/cow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
args = parser.parse_args()
2626

27-
# get the correct anima function by name
27+
# get the correct animal function by name
2828
animal_func = getattr(cowsay, args.animal)
2929

30-
print(animal_func(" ".join(args.message)))
30+
animal_func(" ".join(args.message))

0 commit comments

Comments
 (0)