Computer Science, asked by kavitaparmar2572, 6 months ago

write a program to input a number and print its cube.

Answers

Answered by kumarirashmi1098
5

Explanation:

This Python program allows users to enter any numeric value. Next, Python finds a Cube of that number using an Arithmetic Operator.

Answered by SandhyaSubhash2112
17

Explanation:

Python Program to find Cube of a Number

This Python program allows users to enter any numeric value. Next, Python finds a Cube of that number using an Arithmetic Operator.

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))

Similar questions