Python Login and Register System using text files
问题 Hey I am trying to create a system using text files where a user can sign up and log in. All the data will be stored in plain text in a text file called User_Data.txt. My code works but I would like to know if there is anything I missed or If I could improve it in any way. Sorry for the Bad code Formatting in advance. def choices(): print("Please choose what you would like to do.") choice = int(input("For Sigining Up Type 1 and For Signing in Type 2: ")) if choice == 1: return getdetails()