[Tutor] code won't work now

Katharine Stoner kstoner@netins.net
Wed, 28 Feb 2001 22:53:19 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C0A1D9.3E4ECA20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

day =3D input("On a scale of 1 to 10, how was your day?")
if day =3D=3D (fine):
#used double equals to make=20
    fine =3D "The salad is properly cooked."
    print fine
else:
    print "Cook the salad some more."


What is wrong with this?  I had it working and then saved it and now it =
doesn't work in the GUI.  Help please.

-Cameron Stoner

------=_NextPart_000_0005_01C0A1D9.3E4ECA20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>day =3D input("On a scale of 1 to 10, =
how was your=20
day?")<BR>if day =3D=3D (fine):<BR>#used double equals to make=20
<BR>&nbsp;&nbsp;&nbsp; fine =3D "The salad is properly=20
cooked."<BR>&nbsp;&nbsp;&nbsp; print fine<BR>else:<BR>&nbsp;&nbsp;&nbsp; =
print=20
"Cook the salad some more."</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>What is wrong with this?&nbsp; I =
had it working=20
and then saved it and now it doesn't work in the GUI.&nbsp; Help=20
please.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Cameron =
Stoner</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C0A1D9.3E4ECA20--