easy question, how to double a variable
Tom Kermode
tkermode at gmail.com
Mon Dec 28 06:42:06 EST 2009
def twice(parameter = 2)
return 4
2009/9/20 daggerdvm <daggerdvm at yahoo.com>:
> 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
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://www.kiloday.com
http://www.fourstopspast.com
More information about the Python-list
mailing list