Adjusting scores without touching the original
Write code · Medium · §3.5, §12.2 import
answers holds survey responses in the form [name, score]. Leave the original as it is, and make a copy in adjusted with every score raised by 1 point. Grading checks adjusted and also checks that answers still has its original values.
Starter code
answers = [["mina", 3], ["jun", 5], ["sora", 4]]Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.