about | help | code help+videos | done | prefs |
Write a Python function rectangle_perimeter that takes two parameters width and height corresponding to the lengths of the sides of a rectangle and returns the perimeter of the rectangle in inches. rectangle_perimeter(10, 20) → 60 rectangle_perimeter(5, 5) → 20 rectangle_perimeter(30, 15) → 90 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 110 Post-solution available
Copyright Nick Parlante 2017 - privacy