20 lines
621 B
Python
20 lines
621 B
Python
|
|
QUIZ_TYPES = {
|
||
|
|
1: {
|
||
|
|
"name": "Single Line Text Inputs",
|
||
|
|
"format": """
|
||
|
|
{"question": "Your question here", "correct_answer": "Your correct answer here"}
|
||
|
|
"""
|
||
|
|
},
|
||
|
|
2: {
|
||
|
|
"name": "Multiple Choice Questions",
|
||
|
|
"format": """
|
||
|
|
{"question": "Your question here", "options": ["Option 1", "Option 2", "Option 3"], "correct_answer": "Correct Option"}
|
||
|
|
"""
|
||
|
|
},
|
||
|
|
3: {
|
||
|
|
"name": "True or False Questions",
|
||
|
|
"format": """
|
||
|
|
{"question": "Your question here", "options": ["True", "False"], "correct_answer": "True or False"}
|
||
|
|
"""
|
||
|
|
}
|
||
|
|
}
|