[Tutor] Step Value

Alan Gauld alan.gauld at btinternet.com
Thu Jun 16 01:28:17 CEST 2011


"Vincent Balmori" <vincentbalmori at yahoo.com> wrote

>I am still working on that one question in the absolute beginners 
>with the the
> ask_number function and step value. Honestly, I still have no idea 
> what to do.

Take it stage by stage.

Define the function so that it takes a step parameter
with a default value of 1. Don;t try to usde that value
just modify the definition so that it takes the extra
parameter.

Send us what you do so we can see it.

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




More information about the Tutor mailing list