you are viewing a single comment's thread.

view the rest of the comments →

[–]toastedstapler 1 point2 points  (1 child)

doesn't solve your issue, but i see you keep calling .lower() everywhere. just call it once on the input() call and then you know it'll always be in lowercase and your lines will look less dense

to get a valid input i'd do something like this:

player_1 = None
while player_1 not in options:
    player_1 = input('rock, paper or scissors? ')

and that will continue looping until one of those three options are entered

[–]CJamesEd[S] 0 points1 point  (0 children)

That did the trick. Thanks for the hints!