i need to access strings using raw_input
.
list1 = ["one","Two","three"]
list2 = ["1","2","3"]
while True:
ip = raw_input("enter list: ")
for i in ip:
print i
break
When "list1" is given as input, it takes as string but not as list. I need to access the list defined above. I need a way to access the lists and print the list.