I’m trying to create a little quiz, yet I have issues:
# This is the quiz the user will take
# The topic is about "The World"
def main():
print('Greetings, the topic of this quiz is about: The World')
print('For multiple choice questions, please enter T or F (do not use caps however!)')
q1()
def q1():
# Question 1
q_1 = input('What is the name of the country that has Ottawa as its capital?: A) Latvia B) Ecuador C) Canada ')
if q_1 == c
print('Correct!')
else:
print('Wrong!')
# Call the 'main' function
main()
This is just a little sample of what I’ve done so far.