Why does it say that "dog" "cat" and "hamster" are not functions? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Why does it say that "dog" "cat" and "hamster" are not functions?

https://code.sololearn.com/WzIjOXWE0HCI/?ref=app

24th Jul 2019, 1:22 PM
coffeecup
coffeecup - avatar
2 Antworten
+ 4
coffeecup You should not name a variable and a function with same name at the same time You can change the functions to doggy, kitten, hamsters
24th Jul 2019, 1:32 PM
deeyae
deeyae - avatar
+ 2
Thank you so much
24th Jul 2019, 1:33 PM
coffeecup
coffeecup - avatar