← Back to Question List
Python Code Walkthrough #38
Assigning To A Key Twice
📄 Code
Read carefully — what does this print?1ages: dict[str, int] = {'Ann': 20, 'Bo': 22}2ages['Ann'] = 213ages['Cy'] = 194ages['Bo'] = ages['Bo'] + 15print(ages)6print(len(ages))