Skip to content
← Back to Community
quiz
Profile icon
AbdullaAl5

quiz
please comment if any error have occurred

Voters
Profile icon
loozuik
Profile icon
henryeth
Profile icon
AbdullaAl5
Comments
hotnewtop
Profile icon
henryeth

This works and no errors occur, but it is full of repetitive elifs. Maybe try a new version with loops?

Profile icon
AbdullaAl5

@henryeth actually, I dont know any thing about loops

Profile icon
henryeth

@AbdullaAl5 If you want some inspiration, I recently did a quiz template that can have as many questions as you want and uses a loop for the questions. It is here.

Profile icon
AbdullaAl5

@henryeth Thank you

Profile icon
AbdullaAl5

@henryeth that teach me a lot

Profile icon
henryeth

@AbdullaAl5 No problem! By the way (time for some more shameless self-promotion), I also made a more complicated quiz template if you want to check it out.