system-design-primer/Simple program on python

6 lines
153 B
Plaintext
Raw Normal View History

2023-04-23 08:02:16 +03:00
# WAP to accept a number and print its cube.
num=int(input("Enter the number"))
cube=num*num*num
print("Enter the Number:",num)
print("It's cube:",cube)