help

kwakukwatiah at gmail.com kwakukwatiah at gmail.com
Thu Jan 10 19:35:40 CET 2013


pls this is a code to show the pay of two people.bt I want each of to be able to get a different money when they enter their user name,and to use it for about six people.
database = [
    ['Mac'],
    ['Sam'],
    ]
pay1 = 1000
pay2 = 2000

name = raw_input('Enter your name: ')
if [name] in database:print "your pay is $",pay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130110/43e83535/attachment.html>


More information about the Python-list mailing list