[Tutor] variable from input?

Rene Lopez RenX99 at gmail.com
Tue Oct 26 01:53:22 CEST 2004


is it possible to have the user input something with a raw_input
command, and then base upon the input make that into the name of a
variable?

for example:

answer = raw_input("what is your name?")

user types in Rene, and some how we end up with a variable named Rene?
-- 

Rene


More information about the Tutor mailing list