[Tutor] flow problem with a exercise

Roelof Wobben rwobben at hotmail.com
Fri Aug 20 21:48:39 CEST 2010


Oke, 
 
I don''t understand it complety.
 
return not arg%2 
 
Why use not here ?
 
I think that arg%2 is True not makes it false. 
 
Another question.
 
How can I round outcome of a calculation.
 
round ( ( t-32)/1.8) does not work because I get a message that there are two arguments.
 
Outcome = (t-32)/1.8
outcome2 = round (outcome) does not work because the argument must be a string or a number 
 
Roelof
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100820/49f07b9c/attachment.html>


More information about the Tutor mailing list