You are given the lambda function of the following form: func = lambda x: 8*x*(x**25). What is the result of func(5) ? t
Posted: Fri Jun 10, 2022 11:58 am
You are given the lambda function of the following form: func = lambda x: 8*x*(x**25). What is the result of func(5) ? type your answer here Submit Modify the lambda function above such that it multiplies not by 8, but by 3. Put into the answer box the Python code to save the result in the variable func2. type your answer here Submit You are given two lists: [39, 38, 22, 39] and [32, 31, 25, 35]. Using the zip() function, write a list comprehension that computes the ratio of the elements of list1 and list2. Use the variable names 11 and 12 for the elements in the list comprehension. type your answer here Submit Consider the list [12, 4, 8, 4, 6, 10, 6] Using a list comprehension, add one to each element and then multiply each element by 2. Put in the answer box how you would write the list comprehension. Use the underscore) as the placeholder for the iterator. If your answer is marked as incorrect, try a different order, e.g., (+1) instead of (1+). type your answer here Submit