Write a python to print cube of any numbers
Answers
Answered by
4
Answer:
Python program to find Cube of given number Using Cube() function
1.Take input number from the user.
2.Calculate the cube of the given number using function.
3.Print cube of the given number.
Answered by
6
Python Program to Calculate Cube of a Number
number = float(input(" Please Enter any numeric Value : "))
cube = number ** 3
print("The Cube of a Given Number {0} = {1}".format(number, cube))
Output In attachment
Attachments:
Similar questions