Volume of Cube in Python

Volume of Cube in Python 

 import math

a=float(input("Enter The Value of a :"))

volume=math.pow(a,3)

print("volume :",volume)


Output :

Enter The Value Of a :4

volume : 64.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":...