[Tutor] Fwd: Re: Passing arguments?

Alan Gauld alan.gauld at btinternet.com
Tue Oct 22 15:44:42 CEST 2013


On 22/10/13 14:21, Ricardo Aráoz wrote:
> - Did you notice your assignment specifically asks for a "while" loop
> for validation? ... (tip: you should be using "while" and "on
> error")

on error?
You're not thinking of VB by any chance? :-)

In Python it would be a try/except block or maybe a straight if/else 
test for a beginner.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list