<html>
<body>
At 04:43 AM 1/29/2005, Liam Clarke wrote:<br>
<blockquote type=cite class=cite cite="">< erk, to the list, to the
List!><br><br>
if ( bad_weather =='y' ):<br>
# ask user only if weather is bad.<br>
b = input ( "Weather is really bad, still go out to
jog?[y/n]" )<br>
if b == 'y':<br>
go_jogging()<br><br>
Anyone else notice that he's never gonna go jogging if the weather is
bad?<br>
Unless I've got input() wrong, it only takes integers...
?</blockquote><br>
From the docs:<br>
<tt>input</tt>( <font size=4>[</font>prompt<font size=4>]</font>)<br>
Equivalent to eval(raw_input(prompt)). <br>
<x-sigsep><p></x-sigsep>
Bob Gailer<br>
<a href="mailto:bgailer@alum.rpi.edu" eudora="autourl">mailto:bgailer@alum.rpi.edu<br>
</a>303 442 2625 home<br>
720 938 2625 cell</body>
</html>