Funktion? einfache Lösung
Verfasst: Mittwoch 15. Juli 2009, 22:49
Code: Alles auswählen
import math
def area(radius):
temp = math.pi * radius**2
return temp
area(4)
Seit 2002 Diskussionen rund um die Programmiersprache Python
https://www.python-forum.de/
Code: Alles auswählen
import math
def area(radius):
temp = math.pi * radius**2
return temp
area(4)