Toby Donaldson schrieb:
>Hi,
>
>I think speed method is definitely a good thing --- students in my
>class have asked for that. And I think Gregor's addition of checking
>the range of the input value is a good idea, since I've seen a number
>of students fooled by such things
>
>
I'd like to point out, that I didn't change the working of the code. I
only replaced
if speed >=0 and speed <=4: ## more elegantly:
by
if 0 <= speed <=4:
However, I have to do some remarks on the speed-function.
I'll do this this evening.
Best wishes,
Gregor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"edupython" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/edupython
-~----------~----~----~----~------~----~------~--~---