'F' → Fullscreen
Create a new Python program named 1-19-len-and-safe-access.
len().scores = [84, 91, 76, 88, 95]
print(f"Number of scores: {len(scores)}")len(scores) - 1, then print the last score.scores = [84, 91, 76, 88, 95]
print(f"Number of scores: {len(scores)}")
last_index = len(scores) - 1print(f"Last score: {scores[last_index]}")0 and last_index — no hardcoded numbers.scores = [84, 91, 76, 88, 95]
print(f"Number of scores: {len(scores)}")
last_index = len(scores) - 1print(f"Last score: {scores[last_index]}")
scores[0] = 100scores[last_index] = 100
print(f"Updated scores: {scores}")Verify your program works correctly.
Number of scores: 5Last score: 95Updated scores: [100, 91, 76, 88, 100]Answer the following questions before submitting your work.
len(scores) - 1 the last valid index instead of len(scores)?scores[len(scores)]?len() better than hardcoding an index number like 4?Submit the required files to the appropriate dropbox.