DevJourney · code I wrote while learning
volume-of-cube.py
141 Bs = 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))DevJourney · code I wrote while learning
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))