Challenge 009
Create a function that takes length
and width
and finds the perimeter of a rectangle.
Examples
find_perimeter(6, 7) ➞ 26
find_perimeter(20, 10) ➞ 60
find_perimeter(2, 9) ➞ 22
Solution
def find_perimeter(length, width):
return (length + width) * 2