Q. Write a program to read a floating point number n. Print n, n2, n3, n4 and n5.

 

Answer =

 



num = float (input ("Enter the number :- "))
print ("Answer is :- ", num, ', ', num **2, ', ', num ** 3, ', ', num ** 4, ' &', num ** 5)

 

4 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post