Python program to find Cube of a Number

# Python Program to Calculate Cube of a Number
#To take input from user
number = float(input("Enter any numeric Value: "))
cube = number * number * number
print("The Cube of a Given Number {0}  = {1}".format(number, cube))

OUTPUT:

Enter any numeric Value: 5
The Cube of a Given Number 5.0  = 125.0

Leave a Comment