Hello,

I am a beginner. And I am trying to get a user input converted to a list.

print 'Enter your first name :'
firstname = raw_input()

So if the user input is

firstname = 'foo'    ----------->should become-------->
firstlist['f','o','o']


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

Reply via email to