Area of Square in Python

 #Area of Square in Python


side=float(input("Enter side of square :"))
area=side*side
print("area of square : ", area)

Output :

Enter side of square :45 area of square : 2025.0


0 comments:

Post a Comment

gurnoorsingh5974@gmail.com

Count Upper Case and Lower Case Word in a string (Python)

  Count Upper Case and Lower Case Word in a string     (Python) def string_test(s):     d={"UPPER_CASE":0, "LOWER_CASE":...