Hobbies_Loop part


#1


https://www.codecademy.com/courses/python-beginner-en-cxMGf/1/2?curriculum_id=4f89dab3d788890003000096


The interpretator asks to use raw_input method which I use in this exercise (pls see the code)

I expect the right result as the code works correctly


hobbies = []

# Add your code below!
for i in range(3):
    hobby = raw_input ("Type your %s hobbies" % (i+1))
    hobbies.append(hobby)
print hobbies


#2

no space between raw_input and ( allowed


#3

stetim94,
Thank You!
I did not notice that space because the code worked correctly

Best regards,

Egor.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.