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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 22:30, jadelovell21
The a great imaginary circle, or reference line, around earth that is equally distant from the two poles and divides earth into the northern and southern hemispheres.
Answers: 1
image
Computers and Technology, 25.06.2019 09:30, genesis3105
If a business owner wanted to create a banner ad for his business on his webpage, he could use java programming to develop a (n) spreadsheet cad software applet music application
Answers: 1
image
Computers and Technology, 25.06.2019 15:00, fanny1211
Vote! q: what should my profile picture be next? a. flaming orange z. -or- b. mera mera no mi fruit from one piece anime?
Answers: 1
image
Computers and Technology, 25.06.2019 20:00, destineyburger2
All queries have a locale, true or false?
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 in other subjects:

Konu
Mathematics, 20.01.2020 06:31