TypeError: string indices must be integers, not 'str'…. accessing values in a dictionary
it works once but in the next line it will have the error in the title. Traceback (most recent call last): File "c:\Users\User\AppData\Local\tmc\vscode\mooc-programming-24\part07-15_who_cheated_2\src\who_cheated_2.py", line 51, in <module> print(final_points()) ^^^^^^^^^^^^^^ File "c:\Users\User\AppData\Local\tmc\vscode\mooc-programming-24\part07-15_who_cheated_2\src\who_cheated_2.py", line 29, in final_points print(maxs>wank[line[0]]) ~~~~^^^^^^^^^ TypeError: string indices must be integers, not ‘str’ # Write your solution here from datetime import timedelta,datetime import… Read More TypeError: string indices must be integers, not 'str'…. accessing values in a dictionary