easy question, how to double a variable

MRAB python at mrabarnett.plus.com
Sun Sep 20 22:55:48 CEST 2009


daggerdvm wrote:
>  Write the definition of a function  twice , that receives an  int
> parameter and returns an  int that is twice the value of the
> parameter.
> 
> how can i do this

That's a very basic question. Try a tutorial.



More information about the Python-list mailing list