Debug code
MisterMr

How do I debug code on Replit. All the options I found online haven't worked.

You are viewing a single comment. View All
Answered by OldWizard209 [earned 5 cycles]
View Answer
MisterMr

I would also appreciate it if someone can tell me how to fix the code!

ch1ck3n

@MisterMr first i need to know the answer to the question

MisterMr

@ch1ck3n lol you can google them or you can check the code.

OldWizard209

Firstly, what is the problem in the code? @MisterMr
Secondly @ch1ck3n , you can see the answer from the code ;)

MisterMr

@OldWizard209 The problem is that for some reason it repeats the last question. Then when you answer it, it causes a keyerror since the computer has removed the question and answer from the dictionary since it has already been answered.

I need to know why it keeps repeating the last question and how to fix this.