[Tutor] Re: HELP

melvin terry espo89@msn.com
Mon, 19 Aug 2002 00:45:47 -0400


------=_NextPart_001_0006_01C24719.C1E8A900
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



I got this working but how do I get it say say chose 1 for michael or typ=
e 2 for ryan? Then if they chose 2 have it say He is cool but not as cool=
 as MIchael?

print "Hi my name is michael and this is the subertrip program"
print "-------------------------------------------------------"
print "please pick a name"
name =3D int(raw_input("enter 1 for michael: "))
if name =3D=3D1:
   print "michael is so cool"
else:
   print "He is ok but not as cool as michael"Get more from the Web.  FRE=
E MSN Explorer download : http://explorer.msn.com

------=_NextPart_001_0006_01C24719.C1E8A900
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><BODY STYLE=3D"font:10pt verdana; border:none;"><DIV>&nbsp;</DIV> <=
DIV>&nbsp;</DIV> <BLOCKQUOTE style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5=
px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">=
 <P>I got this working but how do I get it say say chose 1 for michael or=
 type 2 for ryan? Then if they chose 2 have it say He is cool but not as =
cool as MIchael?</P> <P>&nbsp;</P> <P>print "Hi my name is michael and th=
is is the subertrip program"<BR>print "----------------------------------=
---------------------"<BR>print "please pick a name"</P> <P>name =3D int(=
raw_input("enter 1 for michael: "))</P> <P>if name =3D=3D1:<BR>&nbsp;&nbs=
p; print "michael is so cool"<BR>else:<BR>&nbsp;&nbsp; print "He is ok bu=
t not as cool as michael"</P></BLOCKQUOTE></BODY></HTML><br clear=3Dall><=
hr>Get more from the Web.  FREE MSN Explorer download : <a href=3D'http:/=
/explorer.msn.com'>http://explorer.msn.com</a><br></p>

------=_NextPart_001_0006_01C24719.C1E8A900--