Teil 6 "Objekte ist neu
Repository aufgeräumt.
This commit is contained in:
9
teil3/import.py
Normal file
9
teil3/import.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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}")
|
Reference in New Issue
Block a user