Welcome to the Treehouse Community
Looking to learn something new?
Tsung Wei Tsai583 Points
I got different result using same code in the video
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 9, 'j']
my_list = ['i']
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', ['i'], 'j']
it shows ['i'] instead of 'i'. I follow the tutor but python gave different result. Do anyone know where did I make mistake? Thank you
Ezekiel dela Peña6,230 Points
I think you should do it like this:
my_list = 'i'
because if you're going to put ['i']. The python will read it as a (['i'] string) not as (i char).