Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- R = (int)(input("Radio: "))
- H = (int)(input("Hipotenusa: "))
- lado= math.sqrt((H**2 - R**2))
- areac = (math.pi*(R**2))/2
- areat = ((R*lado)/2)*2
- total = areac + areat
- print("AREA: %f metros cuadrados" % (total))
Advertisement
Add Comment
Please, Sign In to add comment