| Python 2.2 für Einsteiger | ||
|---|---|---|
| <<< Previous | Einführung anhand von Beispielen | Next >>> |
#!/usr/bin/python2.2
import math
def f(x): return x*x
liste=[1,2,3]
for element in liste: print f(element)
print map(f,liste)
| <<< Previous | Home | Next >>> |
| Umlaute und UNICODE | Up | DES - Verschlüsselung |