Why is "brown" in line 12 and my code extension in 9 and 10 line when output does not show anything? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Why is "brown" in line 12 and my code extension in 9 and 10 line when output does not show anything?

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

14th Mar 2018, 8:40 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
2 Answers
+ 2
I'm not sure if i understood your question but that's what i got from it. Its because they're functions. You need to call them to activate them. meaning you should type "fido.color" to get the color. otherwise they're just there with no purpose.
14th Mar 2018, 9:00 PM
Tomer Sim
Tomer Sim - avatar
+ 1
I don’t understand your question, can you please rephrase it? Code works fine
14th Mar 2018, 9:00 PM
Leshark
Leshark - avatar