DevJourney

Python/VIT/sem-1/ex-04/volume-of-cube.py

s=float(input("Enter the length of side of the cube: "))
vol=s**3
print("The volume of a cube of side length {0} is {1}".format(s,vol))
View on GitHub