0

Hello, help me with the task please in python.

The user enters a number from 1 to 30 and the degree to which he wants to raise it. Using a loop while write a program that checks to see if the number is entered correctly. The program receives a number and its degree as an input. Then it checks to see if the number is entered correctly. If yes, raise it to a power and display the result on the screen. If not, displays "Number entered incorrectly! Repeat entry." and asks to repeat the entry (the user again enters the number and degree)

6th Dec 2019, 9:03 PM
Mark Kalvin
2 odpowiedzi
+ 1
Show us your attempt, will ya?
6th Dec 2019, 10:04 PM
HonFu
HonFu - avatar
+ 1
good, but only a little later!)
6th Dec 2019, 10:07 PM
Mark Kalvin