I think that my def main() and my answer1 are having a conflict because in my code my first "answer1" makes an error and I'm not able to execute the command can someone tell me what is the problem? And what I can do?
print("Welcome to my computer game!")
playing = input("Would you like to play? ")
if playing != "yes":
quit()
print("Nice! Let's play! ")
print("Answer true or false to these phrases.")
def main():
answer1 = input("Hugo Antunes is busy! ")
if answer1 == "false":
print("Wrong, you should know your Hugo better!")
if answer1 == "true":
print("Correct! ")
if any((answer1 != "true", answer1 != "false")):
main()
answer2 = input("Next phrase. Hugo's favorite color is yellow. ")