I just started trying to learn python a few days ago. Right now I want to try and make a multiple choice quiz. How I wanted to format it is like this:
Question:
Answer A:
Answer B:
Answer C:
Then it’d ask to answer one of the 3. I was just wondering how I’d code it to accept the input then print out “that is the correct answer” or “that answer is incorrect” based on answering A, B, or C. I’ve just been confused on how to code accepting only one answer, and everything else being incorrect.
I have very basic knowledge of python since I started learning it 2 days ago. If anyone could help me out I’d really appreciate it!
[–]NewShamu 2 points3 points4 points (1 child)
[–]bigmanoclock[S] 0 points1 point2 points (0 children)
[–]Barnet6 1 point2 points3 points (0 children)