maynul67

calculate area of a circle from radius

Jul 14th, 2021
701
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. π = 3.1415
  2. r = float(input("enter radius: "))
  3.  
  4. radius = π*r**2
  5. print(radius)
RAW Paste Data