Question: Python Please OBJECTIVE: Remove strings from test_list whose average value is 6, and print the resulting list. NOTE: test_list is created & imported from the

Python Please

Python Please OBJECTIVE: Remove strings from test_list whose average value is 6,

OBJECTIVE: Remove strings from test_list whose average value is 6, and print the resulting list. NOTE: test_list is created & imported from the module test_data.py into main.py Sample Inputs/Outputs: Example 1: test_list = ["66", "75", "286"] prints ['286'] Example 2: test_list = ["22", "1887", "91"] prints ['22', '91'] 296528.1655254.qx3zqy7 LAB ACTIVITY 13.49.1: Average Strings (Loops - Hard) 0/11 File is marked as read only Current file: test_data.py 1 #This module creates the test_list to be used in main.py 2 #Reads input values from the user & places them into test_list 3 list_len = int(input) #Stores the desired length of test_list. 4 test_list = [] 5 for in range(list_len): #Loop/Accumulate all of the input values & place into test_list 6 test_list.append(input)

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!