Advertisement
ralphdc09

its102.md.wk.08.10.num02

Nov 11th, 2021
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. # Ralph Custodio
  2. # BSIT II-A
  3.  
  4. from math import pi
  5.  
  6. radius = float(input("Input the radius of the circle: "))
  7. area = (pi * radius ** 2)
  8. print("The area of the circle with radius " + str(radius) + " is: " + str(area))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement