Write a function to return the perimeter of a rectangle


Topic: Write a function to return the perimeter of a rectangle

Solution

def cal_perimeter_rect(length, bredth):
    return 2*(length+bredth)



List all Python Programs