Having problems with my quiz program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Having problems with my quiz program

I'm creating a quiz program that uses two files, the questions file, and the answers file. as you'd expect, the question folder prints each line a question at a time, waiting for the user's input in between. note, only questions is iterated through, as the question/answer files have the same length the logic is supposed to be that, if the given answer matches the answer line, the answer is marked correct. but, i keep getting "incorrect", despite inputting the right answer. could someone help? https://code.sololearn.com/cASa9mly9s59

4th Oct 2017, 4:32 PM
X-1
X-1 - avatar
1 Answer
+ 1
The compiler says u r not having any file like Quiz Questions.txt Check the availability for this file I hope you got it
4th Oct 2017, 4:55 PM
#RahulVerma
#RahulVerma - avatar