Answered step by step
Verified Expert Solution
Question
1 Approved Answer
e) The instructor wants to give extra credit to all these students by adding 3 points to each test score. Use a nested set of
e) The instructor wants to give extra credit to all these students by adding 3 points to each test score. Use a nested set of for loops to add 3 extra points to every score in all_scores. all_scores is a list of copies of lists. Each list is comprised of test scores from user input. Below is all_scores:
all_scores = [a_list[:], b_list[:], c_list[:]]
I have also uploaded an image of the step instruction for reference. This was my last resort, I can't figure out how to get past it.
e) The instructor wants to give extra credit to all these students by adding 3 points to each test score. Use a nested set of for loops to add 3 extra points to every score in all scores. Display all scores. NOTE: In order to update the inner elements of a nested list, you must have the for loops generate indexes. With indexes you can then write into each inner element.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Certainly To add 3 extra points to each test score in the nested list allscores you can use a ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started