Files
pythonkurs/teil3/import.py
Raspithek 3d8cb9128d Teil 6 "Objekte ist neu
Repository aufgeräumt.
2023-02-24 06:41:05 +01:00

10 lines
178 B
Python

import math
#PI = 3.1415
def berechne_flaecheninhalt(r):
a = math.pi * r**2
return a
flaeche = berechne_flaecheninhalt(10)
print(f"Der Flächeninhalt beträgt: {flaeche}")