Write a python program that asks the user to enter two positive numbers (n1, n2) and calculate and display the following using appropriate built-in functions: 1. square root for (n1) 2. (n1) power of...


Write a python program that asks the user to enter two positive numbers (n1, n2) and calculate and display the following using appropriate built-in functions:<br>1. square root for (n1)<br>2. (n1) power of (n2)<br>Note: Use try and except to print an error message if the user enters any negative value.<br>CS CamScanner - Wgo a>gnaall<br>

Extracted text: Write a python program that asks the user to enter two positive numbers (n1, n2) and calculate and display the following using appropriate built-in functions: 1. square root for (n1) 2. (n1) power of (n2) Note: Use try and except to print an error message if the user enters any negative value. CS CamScanner - Wgo a>gnaall

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here