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 01:50
A.) generate scaffolding to create database for your application. develop all the entities identified in assignment #2. add any additional that may be identified later. b.) add data validation rules to the models that are appropriate for your application and data. c.) create links for each scaffold in the header section. part 2: application updates [30 points] a.) add two additional views to the "home" controller you created in assignment #1. b.) the two views should be named as “privacy" and "". c.) link the two newly created views in the footer section. hint: you would need to modify the “home" controller definition and create “privacy.html.erb" and “.html.erb" files in appropriate locations.
Answers: 3
question
Computers and Technology, 22.06.2019 16:30
Corey set up his presentation for delivery to his team.the information he had to convey was critical to their job performance.he knew he would need a lot of time to explain each point
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
In the blank libreoffice writer document, to start the process of entering a date field into a letter, click on the insert menu. edit menu. file menu. fields menu.
Answers: 3
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
question
Social Studies, 01.04.2021 21:30
question
Mathematics, 01.04.2021 21:30
question
English, 01.04.2021 21:30
question
Mathematics, 01.04.2021 21:30
Questions on the website: 13722365