Files
task4/circle.py

11 lines
102 B
Python

import math
def area(r):
return math.pi * r * r
def perimeter(r):
return 2 * math.pi * r