Weird List Printout


Hey Peoples,

I'm getting this weird printout of my hobbies list. If you look at the pic below in the printout of the hobbies list, there's a "u" before each element. I noticed that if I wrap my raw_input in a str() the issue goes away and prints as I want it to. However, I thought that raw_inputs are already saved as strings so using str() seems redundant. Can anyone give me an explanation as to why I'm getting this weird printout?

Thanks in advance!:grin:


That is Unicode encoded raw_input stored in the array. Use a loop to print out the list and your won't see that.