Hoi allemaal,

Ik heb in onderstaand programmaatje p proberen over te hevelen naar de functie 
uitvoer.
Is dit gewoon niet mogelijk of zijn er alternatieven?









def stelling():
    p=math.pi
    print p
    return p

def uitvoer(omtrek):
    omtrek=p*d
    print omtrek
    return omtrek

d=4


stelling()
uitvoer(d)

_______________________________________________
Python-nl mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan