subject

Write a python program to: ask the user to enter two integers: int1 and int2. the program uses the exponential operator to calculate and then print the result when int1 is raised to the int2 power. you also want to calculate the result when int1 is raised to the .5 power; however, you realize that it is not possible to take the square root of a negative number. if the value for int1 that is entered is a negative number, print a message to the user explaining why you cannot complete the task. otherwise, calculate the square root and print it. finish the program by printing the values of int1 and int2.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
You know the right answer?
Write a python program to: ask the user to enter two integers: int1 and int2. the program uses the...
Questions
Questions on the website: 13722362