Help regarding python!

Question: Why is there a KeyError?

code snippet

because there is no key called “player” in the choices dictionary, you do have one named “player choice” you created on line 8

2 Likes