<div dir="ltr"><font color="#000000" face="courier new, monospace">Pay isn't linked to the "people" in any way.  A dictionary would serve this purpose better (at least in this simple example).</font><div><font color="#000000" face="courier new, monospace"><br>

</font></div><div style><font color="#000000" face="courier new, monospace">database = {</font></div><div style><font color="#000000" face="courier new, monospace">    'Mac' : 1000,</font></div><div style><font color="#000000" face="courier new, monospace">    'Sam' : 2000</font></div>

<div style><font color="#000000" face="courier new, monospace">}</font></div><div style><font color="#000000" face="courier new, monospace"><br></font></div><div style><font color="#000000" face="courier new, monospace">name = raw_input('Enter your name:')</font></div>

<div style><font color="#000000" face="courier new, monospace">if name in database.keys(): print "your pay is $", database[name]</font></div></div><div class="gmail_extra"><br clear="all"><div><b>Matt Jones</b></div>


<br><br><div class="gmail_quote">On Thu, Jan 10, 2013 at 12:35 PM,  <span dir="ltr"><<a href="mailto:kwakukwatiah@gmail.com" target="_blank">kwakukwatiah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<div>pls this is a code to show the pay of two <a href="http://people.bt" target="_blank">people.bt</a> 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.</div>
<div>database = [</div>
<div>    ['Mac'],</div>
<div>    ['Sam'],</div>
<div>    ]</div>
<div>pay1 = 1000</div>
<div>pay2 = 2000</div>
<div> </div>
<div>name = raw_input('Enter your name: ')</div>
<div>if [name] in database:print "your pay is 
$",pay</div></div></div></div>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br></div>