<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>This program works the way it is now but I was 
wanting to make a change. When I do change it, it no longer recognizes some 
things and I was wondering why. Can someone please explain.</FONT></DIV>
<DIV><FONT face=Arial size=2>This is the program:</FONT></DIV>
<DIV><FONT face=Arial size=2>def printStatement():<BR>&nbsp;&nbsp;&nbsp; print 
"\n","Posted Speed 
Limit:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
",limit<BR>&nbsp;&nbsp;&nbsp; print "\n","Clocked 
Speed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
",clocked<BR>&nbsp;&nbsp;&nbsp; print "\n","Exceeded Speed Limit 
by:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
",speeding<BR>&nbsp;&nbsp;&nbsp; print "\n","Base fine for 
speeding:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
",fine<BR>&nbsp;&nbsp;&nbsp; print "\n","Fine for each mph over speed limit: 
",speeding*5<BR>&nbsp;&nbsp;&nbsp; print "\n","Fine for exceeding 90 
mph:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
",over90<BR>&nbsp;&nbsp;&nbsp; print "\n","Total 
charges:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
",calculatedFine</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>limit=input("What is the posted speed limit? 
")<BR>clocked=input("What was the clocked speed? ")<BR>if 
clocked&lt;=limit:<BR>&nbsp;&nbsp;&nbsp; print "This driver was not speeding 
"<BR>elif clocked&gt;90:<BR>&nbsp;&nbsp;&nbsp; 
speeding=clocked-limit<BR>&nbsp;&nbsp;&nbsp; fine=50<BR>&nbsp;&nbsp;&nbsp; 
speedingFine=speeding*5<BR>&nbsp;&nbsp;&nbsp; over90=250<BR>&nbsp;&nbsp;&nbsp; 
calculatedFine=fine+speedingFine+over90<BR>&nbsp;&nbsp;&nbsp; 
printStatement()<BR>else:<BR>&nbsp;&nbsp;&nbsp; 
speeding=clocked-limit<BR>&nbsp;&nbsp;&nbsp; fine=50<BR>&nbsp;&nbsp;&nbsp; 
speedingFine=speeding*5<BR>&nbsp;&nbsp;&nbsp; over90=0<BR>&nbsp;&nbsp;&nbsp; 
calculatedFine=fine+speedingFine<BR>&nbsp;&nbsp;&nbsp; 
printStatement()<BR>------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>I want to make this change:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>def speedInfo():<BR>&nbsp;&nbsp;&nbsp; 
limit=input("What is the posted speed limit? ")<BR>&nbsp;&nbsp;&nbsp; 
clocked=input("What was the clocked speed? ")<BR>&nbsp;&nbsp;&nbsp; if 
clocked&lt;=limit:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "This 
driver was not speeding "<BR>&nbsp;&nbsp;&nbsp; elif 
clocked&gt;90:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
speeding=clocked-limit<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
fine=50<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
speedingFine=speeding*5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
over90=250<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
calculatedFine=fine+speedingFine+over90<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
printStatement()<BR>&nbsp;&nbsp;&nbsp; 
else:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
speeding=clocked-limit<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
fine=50<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
speedingFine=speeding*5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
over90=0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
calculatedFine=fine+speedingFine<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
printStatement()</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>speedInfo()</FONT></DIV>
<DIV><FONT face=Arial 
size=2>---------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Someone has told me that ya'll don't like to help 
with homework. This already does what the assignment</FONT></DIV>
<DIV><FONT face=Arial size=2>asks for but I&nbsp;am playing with it trying to 
learn more. Thank you for your help.</FONT></DIV>
<DIV><FONT face=Arial size=2>Diana</FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT></BODY></HTML>