0
why does this code generate error
6 Antworten
+ 1
PRO You're missing a closing parentheses on the input line and you have two spellings of the same variable:
chances and chance
See fixed version in this code link:
https://code.sololearn.com/cnO8gud5W7Ju/
+ 3
Lots of errors.
Try again, but prove the function of each step before you proceed with the next step.
Many of your errors are simple mistakes which can be rectified as you go.
Good luck
+ 2
PRO You need to line up the `elif` with the same indentation level as the `if`
+ 1
...and add a closing parenthesis after int(input()
that's all
+ 1
thanks David Carroll
0
Rik Wittkopp i ve made a few changes here n there...i replaced the for loop with a while loop...i dont know why its still giving an error