Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.294 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.49; '*S*': 0.08; 'subject:help': 0.07; '"your': 0.16; 'received:74.115': 0.16; 'code': 0.31; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'two': 0.37; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'your': 0.60; 'from:no real name:2**0': 0.60; 'different': 0.63; 'show': 0.63; 'six': 0.65; 'money': 0.74; '[name]': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:from:to:subject:date:mime-version :content-type:x-priority:x-msmail-priority:importance:x-mailer :x-mimeole; bh=LStbIWfocvWRCIey8RIuNqBlWli01gNn7LAgMaRpFFQ=; b=kIqah7VvmdSZpcLh6GAS8SmNxXbbemoQIHxLS82VEKiK/IP36O/OnImRzgwpG+rZ2D BhiK2qBAaC54yAO0ZxyFpJwVHUyPQDozUm9NtKimZKFA/Kuy7qrp9BxEjevmlQsncUG3 zE/kt0kkmkFPBiYZXulkdgSrzW977gzeWT0FzJsokX5AvrkOulb35DIokl45cYcVMIJd JjgruksAC2U/XIydMNzo0BoGPht2K27TeBqTnKk/BS3fPYxMw8YPZdR5JjA6bHLpY08M ksUyDSfmptqqiznhw2GI1oezRiYtOyFQriE+jpQkmE2l7v5TtcFCkubuGIz0eVt53uzm JuuA== X-Received: by 10.68.230.101 with SMTP id sx5mr32455139pbc.50.1357821355014; Thu, 10 Jan 2013 04:35:55 -0800 (PST) From: kwakukwatiah@gmail.com To: Subject: help Date: Thu, 10 Jan 2013 12:35:40 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_008E_01CDEF2E.FFF542D0" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3508.1109 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3508.1109 X-Mailman-Approved-At: Fri, 11 Jan 2013 14:50:02 +0100 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 46 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357912204 news.xs4all.nl 6850 [2001:888:2000:d::a6]:43547 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36622 This is a multi-part message in MIME format. ------=_NextPart_000_008E_01CDEF2E.FFF542D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =3D [ ['Mac'], ['Sam'], ] pay1 =3D 1000 pay2 =3D 2000 name =3D raw_input('Enter your name: ') if [name] in database:print "your pay is $",pay ------=_NextPart_000_008E_01CDEF2E.FFF542D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
pls this is a code to show the pay of two people.bt I want each of = to be=20 able to get a different money when they enter their user name,and to use = it for=20 about six people.
database =3D [
    ['Mac'],
    ['Sam'],
    ]
pay1 =3D 1000
pay2 =3D 2000
 
name =3D raw_input('Enter your name: ')
if [name] in database:print "your pay is=20 $",pay
------=_NextPart_000_008E_01CDEF2E.FFF542D0--