Question: I don't understand how lists work in python. please help, thanks 3.12 LAB: Summing and averaging a list of integers The code below assigns a
3.12 LAB: Summing and averaging a list of integers The code below assigns a list of integers provided as comma-separated values from standard input to the identifier my_list. Provide statements to calculate both the sum and the average of the numbers in my_list, assigning them respectively to the variables list_sum and list_average. Important Cast list_average as an integer not a floating point LAB ACTIVITY 3121 LAB Summing and averaging a list of integers 0/3 main.py Load default template 2 1 my_list-list(map(int, input().split(','))) 3. Your solution goes here 5 printlist_sum, list_average 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
