+ 2
Plz help in my code
13 odpowiedzi
+ 2
Hello again, I totally remade the code using functions and making it more readable.
Note:
Enter the answer with mango
Not use number.
https://code.sololearn.com/cf3OV5R69Epj/?ref=app
+ 2
see this.. it will be helpful and easy to understand..
https://code.sololearn.com/cLu83Yiee1v2/?ref=app
+ 1
Yeah that's good
0
How? What do you want to do and what is the problem doing it?
0
It's showing erorr in line 24.
And not running
0
Alright, what is the "option_1" code there for? Seems extra
0
It works just fine without it
https://code.sololearn.com/cw1iQpj8BZ9O/?ref=app
0
How say Slick the option Yes is extra and the cause of error.
ans = input() never readed.
https://code.sololearn.com/c8H2CKgo9Mwe/?ref=app
0
I want that so that if user want to skip one question he can.
0
Skip it? Its a quiz, they shouldnt be able to, thats kinda the point. But what happens if the user skips a question? Minus how many points?
0
No deduction of point for skipping question.
As it hapeens in competitive exams.
0
I updated the code i posted, check it out.
0
That's great