q5.py
# Write a program that receives input from the user to calculate the area of a square.
side = int(input("Enter side length of square(m): "))
print(f"Area of square of side length {side} is {side * side}.")
Personal resource archive for various courses.
# Write a program that receives input from the user to calculate the area of a square.
side = int(input("Enter side length of square(m): "))
print(f"Area of square of side length {side} is {side * side}.")