← Back to Question List
Python Code Walkthrough #24
What The Caller Sees
📄 Code
Read carefully — what does this print?1def add_bonus(marks: list[int]) -> None:2 marks[0] = marks[0] + 534def reset(marks: list[int]) -> None:5 marks = [0, 0]67grades: list[int] = [70, 80]8add_bonus(grades)9print(grades)10reset(grades)11print(grades)