¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Functions

inga pinga Inglés 1 página

Contenido del apunte (1)

Página 1

1.

>>> def your_name():

... print "Manoj Kaushal"

...

>>> your_name()

Manoj Kaushal

2. default return value is None

3. >>> def func1(x,y,z):

... return x+y+z

...

>>> func1(10,20,30)

60

>>> func1(x=10,y=20,z=30)

60

>>> func1(x=10,z=30,y=100)

140

4.

Información

Descripción
Apunte sobre Functions, creado por inga pinga el 28/01/2016.
Creado por
inga pinga
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?