Question: Python 3 please Exercise 1. Intro to Lists A. Write a function squared_List(L) that takes a list as parameter, and returns a list containing the

Python 3 please
Exercise 1. Intro to Lists A. Write a function squared_List(L) that takes a list as parameter, and returns a list containing the squared values of the original elements. Note that the original list shouldn't be altered. B. Write another version of the function that, instead of returning an updated list, modifies the list passed in Exercise 2. Smallest Positive Number Write a function strings2floats(Is) that takes a list of strings is and returns a list of floats. Your function should construct the list of floats to return, and not modify the list passed in. Write a function positive_min(lf) that returns the smallest positive float in the list If. Write a program minpos.py that reads a list of floats from the command line and prints the smallest positive value. > python minpos.py 4.5 -2.1 -8.2 3.5 7.5 positive minimun is: 3.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
