GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Functions

inga pinga Englisch 1 Seite

Inhalt der Notizen (1)

Seite 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.

Informationen

Beschreibung
Notiz am Functions, erstellt von inga pinga am 28/01/2016.
Erstellt von
inga pinga
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck