> I thought lists would be the best but I really don't know how to use
> them

They're easy. Just put stuff in square brackets with commas between.

mycoollist = [1,5,9,3,6,9,2,6]
mystringlist = ['a', 'u', 'e', 'b', 'd', 'h', 'q', 't']

Can you predict what this code will do?

print mycoollist[0]



Alan

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to