Problem Link: CodeChef: Practical coding for everyone
Learning course: Learn Python
My code
# Update the '_' below to solve the problem
print(11 *13) # Area of the rectangle
print(11 * (11+13)) # Perimeter of the rectangle
Problem Link: CodeChef: Practical coding for everyone
Learning course: Learn Python
# Update the '_' below to solve the problem
print(11 *13) # Area of the rectangle
print(11 * (11+13)) # Perimeter of the rectangle
The formula for perimeter is 2*(length + width) you have used 11 instead of 2