circle.py 102 B

12345678910
  1. import math
  2. def area(r):
  3. return math.pi * r * r
  4. def perimeter(r):
  5. return 2 * math.pi * r