Transferering variable from one function to another without triggering random.choice
I’m very new to python and have gotten stuck on a problem for hours. I’m making a quiz game that picks a random word and you have to answer correctly. When I at first run the code everything i good and working correctly, but after the new_word() function is called the click() function doesn’t update so it ends up being the same answer even though the question changed. I tried to resolve this by calling the new_word() function inside the click() function but that brings out even more problems.