For your hobbies 10/19


This is my code for the mentioned exercise
hobbies = []

Add your code below!

for i in range(3):
hobby=str(raw_input(‘enter the hobby’))
print hobbies
when I tried to run the code, it was not accepting any input and on trying again, I got the following output-
enter the hobbyenter the hobby[‘RUN’, ‘hobbies = []’, ‘’]
Can anyone please explain why this is happening?


sometimes there are problems with raw_input(), then it gets fixed but for some reason this bug keeps coming back.


so my code is correct? And what does it really mean?


your code is fine, there is a problem with the validation of your code by codecademy


ok Thanx for helping


with the get code button you should be able to get past this exercise


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