Computer Science, asked by supplegupta, 1 year ago

write a program in python to read a number n from the user and calculate n**2,n**3,n**4.plzzz someone answer this question plzzzzzzZzzzzZzx​

Answers

Answered by divjot56gamer
3

Answer:

Here, first you need to take the input(according to the question)

so here's the complete program

                      PROGRAM

n=float(input("Enter a number-> "))

print("square of n is: ", n**2)

print("cube of n is: ", n**3)

print("quad of n is: ", n**4)

so what i did is that i took an input number n from the first statement and then i gave print command.

Please mark it as the brainliest.............. Have a nice day..

Similar questions