Line of code is not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Line of code is not working

I'm expirementing with making class objects but my last line of code is not working. I do not know why. Help! https://code.sololearn.com/cWO8evZEwl16/?ref=app

8th Mar 2019, 8:30 PM
Annie Luse
Annie Luse - avatar
3 Answers
+ 9
Line 13: Just add a + before and after Now: hobbit1.name Must be: -> + hobbit1.name +
8th Mar 2019, 8:34 PM
Tashi N
Tashi N - avatar
+ 4
You didn't put + after " is "
8th Mar 2019, 8:34 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 1
Thank you so much!
8th Mar 2019, 9:08 PM
Annie Luse
Annie Luse - avatar