fork download
  1.  
  2. # Python program to find Area of a circle
  3.  
  4. def findArea(r):
  5. PI = 3.142
  6. return PI * r*r
  7.  
  8. # Driver method
  9. print(findArea(5))
  10.  
Success #stdin #stdout 0.02s 9012KB
stdin
Standard input is empty
stdout
78.55