My issue
Not understanding
My code
# Update the '_' below to solve the problem
print(11 * 13) # Area of the rectangle
print(_ * (11+ 13)) # Perimeter of the rectangle
Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
The module is asking you to fill in the blanks to print area and perimeter of a rectangle. For area you did
print(11 * 13)
which is correct. Similarly for perimeter answer will be:
print(2 * (11+ 13))
You can click here for more details if you want.
print(11 * 13) # Area of the rectangle
print(2* (11+ 13)) # Perimeter of the rectangle
just replace _ with 2…