Advertisement
maynul67

calculate area of a circle from radius

Jul 14th, 2021
865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | None | 0 0
  1. π = 3.1415
  2. r = float(input("enter radius: "))
  3.  
  4. radius = π*r**2
  5. print(radius)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement