Good Day all, currently writing a script that ask the user for three things;
1.Name
2.Number
3.Description
I've gotten it to do this hurah!

print "Type \"q\" or \"quit\" to quit"
while raw_input != "quit" or "q":
    
    print ""
    name = str(raw_input("Name: "))
    number = str(raw_input("Number: "))
    description = str(raw_input("Description: "))

but here a few things, can anyone help me on figuring out how to at the users 
whim print out all of the names, numbers and descriptions. this is sort of an 
information logger.

additionally, minor issue with getting script to stop when q or quit is typed

any help would be greatly appreciated
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to