def p_square(a):
return a*4
def triangle(a,b,c):
return a+b+c
def rectangle(a,b):
return ((a*2)+(b*2))
print(p_square(4))
print(triangle(2,4,3))
print(rectangle(2,6))
def p_square(a):
return a*4
def triangle(a,b,c):
return a+b+c
def rectangle(a,b):
return ((a*2)+(b*2))
print(p_square(4))
print(triangle(2,4,3))
print(rectangle(2,6))