Decode School

Decode School - The School for Problem Solvers
Welcome to My Blog.
Need Assignment / Project Guidance (or) Training in Python?

Area of Square in Python

Python program to get side of square and find area of square

Sample Input 1:


Sample Output 1:


Program or Solution

side=int(input("Enter the side:"))
print("area: {}".format(area))


Program Explanation

get a side value of a square using input() method calculate area = side * side