[Tutor] I'm stumped.

Nathan Pinno falcon3166 at hotmail.com
Thu Jul 28 01:17:06 CEST 2005


How do I split the list members up in the following code? What am I forgetting?

lista = []
listb = []
lista = raw_input("Enter lista, separated by commas: ")
listb = raw_input("Enter listb, separated by commas: ")
print lista
print listb
for item in lista:
   for other in listb:
      print item,other

Thanks in advance,
Nathan Pinno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050727/e286d51a/attachment-0001.htm


More information about the Tutor mailing list