I’m stuck in the for loop section of the exercise. I’ve run for loops several times but haven’t come across such a strange error. Every time I run the below code, I get some strange elements in my output.
Enter your hobby: cricket Enter your hobby: movies Enter your hobby: computers [u'cricket', u'movies', u'computers'] None
I’ve no clue where is this u’ coming in the output as I don’t seem to input it anywhere.
hobbies =  # Add your code below! for i in range(3): hobby = raw_input("Enter your hobby:") hobbies.append(hobby) print hobbies .