Answered step by step
Verified Expert Solution
Question
1 Approved Answer
not sure how to program this in python 2.17 Ch. 2 Lab: Using math functions Write a program that reads in 3 floating-point numbers; x,y,
not sure how to program this in python 2.17 Ch. 2 Lab: Using math functions Write a program that reads in 3 floating-point numbers; x,y, and z. Your program should then output x to the power of z, x to the power of ( y. to the power of z ), the absolute value of (x minus y), and the square root of (x to the power of z ). Qutput each floating-point value with two digits after the decimal point, which can be achieved as follows: print( f{ your_value1:,2f\} \( \{\text { your_value2:.2f\} }\{\text { your_value } 3: .2 f\} \text { (your_value4:.2f }\}^{\prime} \) ) When the input is as shown in Figure 1. the output should be as shown in Figure 2 Figure 1: (input)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started