[Tutor] HELP
melvin terry
espo89@msn.com
Mon, 19 Aug 2002 00:35:48 -0400
------=_NextPart_001_0005_01C24718.5CE53E70
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
=20
print "Hi my name is tom and this is the subertrip program"
print "-------------------------------------------------------"
print "please pick a name"
name =3D int(raw_input("enter 1 for Tom: "))
"if name =3D 1:"
print "Tom is so cool"
else:
print "you didn't enter 1"
this always comes up how do I fix it?
SyntaxError: invalid syntax
File "C:/Python22/sm", line 6
print "Tom is so cool"
^
SyntaxError: invalid syntaxGet more from the Web. FREE MSN Explorer down=
load : http://explorer.msn.com
------=_NextPart_001_0005_01C24718.5CE53E70
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<HTML><BODY STYLE=3D"font:10pt verdana; border:none;"><DIV> </DIV> <=
DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <D=
IV> </DIV> <DIV>print "Hi my name is tom and this is the subertrip p=
rogram"<BR>print "-------------------------------------------------------=
"<BR>print "please pick a name"<BR>name =3D int(raw_input("enter 1 for To=
m: "))<BR>"if name =3D 1:"<BR> print "Tom is so cool"<BR>else=
:<BR> print "you didn't enter 1"<BR></DIV> <DIV> </DIV> =
<DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV>this always co=
mes up how do I fix it?</DIV> <DIV> </DIV> <DIV>SyntaxError: invalid=
syntax<BR> File "C:/Python22/sm", line 6<BR> pri=
nt "Tom is so cool"<BR> ^<BR>SyntaxError: invalid synta=
x<BR><BR></DIV></BODY></HTML><br clear=3Dall><hr>Get more from the Web. =
FREE MSN Explorer download : <a href=3D'http://explorer.msn.com'>http://e=
xplorer.msn.com</a><br></p>
------=_NextPart_001_0005_01C24718.5CE53E70--