Hobbies print "u" infront of input


#1



hobbies = []

for i in range(3):
    hob = raw_input("what are your hobbies? ")
    hobbies.append(hob)
    
print hobbies


so i just finished this task and decided to put print at the end so i could see how it looked after i had input hobbies but it prints something strange, instead of just printing the hobbies that were entered using raw_input its prints u"swimming" (swimming being the raw_input) does anyone have any idea why it would place a "u" in front of it?


Why it prints 'u'
#2

Did you look for similar topics? there are quit a few:



#3

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