[Solved] I would like to total the amount of correct answers and display it at the end getting error local variable referenced
You can make count global: count = 0 def intro(start): if start == “yes” or start == “y”: print(“Lets begin.”) else: print(“Thanks for checking it out! Bye Bye!”) def question1(): global count count += 1 return count def question2(): global count count += 1 return count def main(): print(“Hello There! Welcome to an all new … Read more