Keep getting the same score from this code can someone help?
This code is really annoying me because i can't seem to get a different score other than 4/10 plz can someone tell me what i am doing wrong.
Uzalii (433)
PLZ HELP
AtriDey (171)
If you spam enter, you get 3/10
Coder100 (15490)
You have a small error.
score == score - 1
# ↕
score = score - 1
And this can be more efficiently put as
score -= 1
# &
score += 1
Uzalii (433)
@Coder100 now i just keep getting 3/10
Coder100 (15490)
For each if
statement, why don't you see what's going on
if age2 == "yes" or "Yes":
score = score - 1
print(score)
StevenWang2 (10)
Instead of using score == score -1, use score = score -1, or score -= 1
Thecrowbar1234 (140)
in the first if it says score == score - 1 not score = score -1
Thecrowbar1234 (140)
what is the score you keep getting
Uzalii (433)
@Thecrowbar1234 i keep getting 4
I got it to work...
this will explain look at comments
if this is the right answer please mark it so :)
https://repl.it/@SilentShadowBla/SmartneZ
@SilentShadowBla Thx so much bro it works well now i selected your answer.
np! @Uzalii