i have a computer science project and i can’t find anywhere how to figure this out. I need python to ask for input and if input is equal to a text file then it moves onto next input if it’s the same. If not it repeats the question: “please enter your name” so far I've got:
Player_1 = input(“please enter your name”)
Then need what I've said above. The text file only needs to contain two names. I am relatively new to python, hope someone can help.