in python Write a program to accept a number from the user and find its cube.
Answers
Answered by
3
Answer:
# Python Program to Calculate Cube of a Number
number = float(input(" Please Enter any numeric Value : "))
cube = number * number * number
print("The Cube of a Given Number {0} = {1}".format(number, cube))
Explanation:
This Python program allows users to enter any numeric value & then Python finds a Cube of that number using an Arithmetic Operator.
Similar questions