Area and Perimeter of Square
Write a Python Program of Area and Perimeter of Square.It Consists of two test cases
The below link contains Area and Perimeter of Square - question, explanation and test cases
https://drive.google.com/file/d/1i6HbDoWuKPpNJvNtHbsXAB6xrOlYdP8g/view?usp=sharing
We need all test cases can be come while code was run
len = int(input())
print('Area of square is:', len * len)
print('Perimeter of square is:', 4 * len)
Comments
Leave a comment