Question: In lists.py , start by writing a function that takes one floating point number x as its argument and returns . The math module has

In lists.py, start by writing a function that takes one floating point number x as its argument and returns
. The math module has a square root function.
Using a loop, read 5 floating point values from the user into a list. Apply the function you wrote to each value in the list and print the results in reverse order.
Enter 5 values:
2
3
4
5
6
1082.44948974627.236067977322.0136.73205080841.4142135624
Or another run of the program:
Enter 5 values:
1.2
-2
10
0
2.41
71.54002246960.05003.16227766-38.58578643769.73544511501

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!