Python Program for Cube of a Number using Functions
- Rajesh Singh
- Mar 31, 2020
- 1 min read
Updated: Nov 10, 2020
Program:
def cube(a):
print("The Cube of given number", a*a*a)
b = int(input(" Enter any number : "))
cube(b)
Output:
Please Enter any numeric Value : 5 The Cube of a Given Number 5 = 125
Commenti