Computer Science, asked by Boonsai6849, 5 months ago

Python program to display the cube of a number upto 4

Answers

Answered by faseelaandru
0

#declare the input variable

inp = int(input("Enter a number: "))

#store the calculation in a variable

Calc = inp ** 3

#print the result

print("The cube of", inp "is", Calc )

Similar questions