I'm having issues with raw_input
again, this time trying to turn the value I get into a list. Here is my code:
original = raw_input("Type is your input? ")
original_as_array = list('original')
print original_as_array
for i in range(0,len(original)):
print i
my print original_as_array
literally prints ['o', 'r', 'i'.... etc]
. If we pretend that my input is Hello World
, I want original_as_array
to output: ['H', 'e', 'l', 'l', 'o', ' ', 'W', 'o'... etc]
. I think I'm making a tiny mistake. Can you point me in the right direction:)?
Quotes form a string literal.
original_as_array = list(original)