← Back to challenges

Find the Perimeter of a Rectangle

PythonEasymathlanguage_fundamentalsnumbersgeometry

Instructions

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
python3
Loading editor…
to run
Walks through the solution with reasoning and edge cases.