Files
Lernfeld-5/Python/Erweitert/Unterprogramme/kreis/functions/geometrie.py
T
2026-06-05 12:02:15 +02:00

12 lines
196 B
Python

import math
class bodys():
@staticmethod
def circle(radius):
scope = 2 * math.pi * radius
area = math.pi * radius*radius
return ({
"scope": scope,
"area": area
})