[Solved] String indices must be integers (error) when accessing dictionary [closed]

[ad_1]

Why do you populate the Player object with ‘magic’ shouldn’t is be

Person = Player(200, 100, 60, 40, magic)

Otherwise it would be interpreted as string.

1

[ad_2]

solved String indices must be integers (error) when accessing dictionary [closed]