10 lines
161 B
Python
10 lines
161 B
Python
PI = 3.1415
|
|
|
|
def berechne_flaecheninhalt(r):
|
|
|
|
a = PI * r**2
|
|
return a
|
|
|
|
flaeche = berechne_flaecheninhalt(10)
|
|
print(f"Der Flächeninhalt beträgt: {flaeche}")
|