Why does it say that "dog" "cat" and "hamster" are not functions? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
+ 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