[Tutor] Fwd: Re: Passing arguments?
Alan Gauld
alan.gauld at btinternet.com
Tue Oct 22 19:01:44 CEST 2013
On 22/10/13 14:55, Ricardo Aráoz wrote:
> Sorry, meant try/except (I was thinking VFP).
> Wouldn't if/else be more difficult when validating if an input is a
> valid float? I find try/except easier.
Maybe, but typical programming classes don't teach try/except
till much later in the course.
Since the OP is evidently a very new beginner I doubt if
they've covered it yet...
--
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