[Tutor] help?
Callum Golding
Rave_Dj@btopenworld.com
Sun, 3 Feb 2002 13:31:06 -0000
This is a multi-part message in MIME format.
------=_NextPart_000_0018_01C1ACB7.08759200
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I'm sorry to bother you, but i was wondering if you could give me a =
little advice. I've recently downloaded Python 2.2. Ive read a begginers =
guide to programming and tried creating a small program, I used the =
input function. Now as soon as I open the program it goes into dos and =
asks me the question, and when i type in an anwser, dos shuts down. Now =
its really starting to bug me. If you could give me some advice I would =
be real grateful. The program I wrote is below; -
tempetature =3D input("What is the temperature of the spam?")
if temperature > 50:
print "The salad is properly cooked"
else:
print "Cook the salad some more"=20
Mat.G
Cheers
------=_NextPart_000_0018_01C1ACB7.08759200
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 http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>I'm sorry to bother you, but i was =
wondering if you=20
could give me a little advice. I've recently downloaded Python 2.2. Ive =
read a=20
begginers guide to programming and tried creating a small program, I =
used the=20
input function. Now as soon as I open the program it goes into dos and =
asks me=20
the question, and when i type in an anwser, dos shuts down. Now its =
really=20
starting to bug me. If you could give me some advice I would be real =
grateful.=20
The program I wrote is below; -</FONT></DIV>
<DIV> </DIV><FONT face=3DArial size=3D2>
<DIV><BR>tempetature =3D input("What is the temperature of the =
spam?")</DIV>
<DIV> </DIV>
<DIV>if temperature > 50:<BR> print "The salad is =
properly=20
cooked"<BR>else:<BR> print "Cook the salad some=20
more"</FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> Mat.G</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> =20
Cheers</FONT></DIV></DIV></BODY></HTML>
------=_NextPart_000_0018_01C1ACB7.08759200--