Write a programe that reads a number and displays the square,cube and fourth power. Use the ** operators only for the fourth power
Answers
Answered by
6
Answer:
n=int(input ("Enter a number"))
sq=n*n
cube=n*n*n
fourth_pow=n*n*n*n
print(sq,cube,fourth_pow)
Similar questions