Skip to content
← Back to Community
Making a multiple question quiz
Profile icon
EddThe

how can I do to make multiple question quiz?

Voters
Profile icon
AlizeBertrand
Profile icon
SaraTrimboli
Profile icon
RichardJuan
Profile icon
KainatZeb
Profile icon
SaraAbdou
Profile icon
GiovanniReyes
Profile icon
LoganSpong
Profile icon
sameenn691
Profile icon
sammiL
Profile icon
EddThe
Comments
hotnewtop
Profile icon
PYer

Create multiple if statements.

if input('Answer 1: ') == '351': print('Correct') # Or run some other code if input('Answer 2: ') == '513': print('Correct') # Or run some other code again

Please mark as answer