Ask coding questions

← Back to all posts
please help i cant get the rock paper scissor thing to work it doesnt do what i want it to do
frogcookies

if you have time could you please check the code. i checked it and found out only these 2 dont want to work

if rocks == ("scissors"):
if computer == ("paper"):
print (" I CHOOSE PAPER \n \n oh you won \n which means you
are smart")

if rocks == ("paper"):
if computer == ("scissors"):
print ("I CHOOSE SCISSORS \n \n you lost \n which means you
are dumb")

Voters
frogcookies
Comments
hotnewtop
Coder100

Yeah... you have a few logic errors, here's the correct code:

frogcookies

@Coder100 thanks

RishabhRanjit

I don't understand this at all.....

This code is very messy.

If you need help, you should clean it up...