#Need help with solving these tasks
1 messages · Page 1 of 1 (latest)
What have you tried?
side = 10
areal_firkant = side * side
radius = side / 2
areal_sirkel = math.pi * radius*2
areal_grønn = areal_firkant - 2 areal_sirkel
prosent_grønn = (areal_grønn / areal_firkant) * 100
print(f"Arealet av det grønne området er {areal_grønn}")
print(f"{prosent_grønn}% av firkanten er grønn.")```
Its in norwegian, and its wrong
What is the formula for a circle's area given the radius?
Do you know how to calculate the area of a circle?
nope
can you fix it?
I can fix it but I won't fix it for you
If I do the work then you don't learn as effectively
you fr?
yes