Ask coding questions

← Back to all posts
How can I fix my RPS on Python?
DaxCodes

So when you do paper or scissors, it says "Scissors. You Win!" But I didn't even put that on the lists.

Could someone help me with this problem?

Thanks!

  • DaxCodes
Answered by Spacecraft [earned 5 cycles]
View Answer
Voters
DaxCodes
Comments
hotnewtop
Spacecraft

Your IF statements may not be evaluating properly:

Try changing them to look like this:

Spacecraft

Alternatively, you could just change your input line to convert the string to lowercase and get rid of the OR conditions inside your IF statements:

DaxCodes

@Spacecraft Thanks! I needed that!