Area of Square With the Help Of import math in Python

 #Area of Square with math.pow in python

import math
side=float(input("Enter side of square :"))
area=math.pow(side,3)
print("area of square : ", area)


Output :
Enter side of square :10
area of square : 1000.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":...