+ 1
Why is it showing syntax error?
9 Réponses
+ 3
Decode
input function bydefault returns string
So just input() is enough
If you take numeric value like 5 as input, then input function will consider it as a string. So to read int value we have to do this:
int(input())
Kaushik Start variable name with small letter as Class name starts from Capital letter
https://code.sololearn.com/cx968Cj5UcAD/?ref=app
+ 1
ahh now i get it. change the variable "Input" = to Input = str(input())
comp_turn = ["Rock" , "Paper" ,"Scissors"]
+ 1
Thanks Decode
+ 1
thanks AJ!
i think i can improve my own rock paper scissors now
0
i think its forgotten parentheses line 2
0
Don't doubt yourself Decode test your hypothesis and make sure, then answer with certainty
0
slick
yeah yeah i did
0
Maybe you forget after "s quote and : also you have to write block of code after if statement or use pass keyword to pass
0
code warrior its already fixed