Is there a way to make it so I can have different correct usernames that are valid, for example: username1 password1 and then username2 password2, both be a valid login
Hi, you can try this by repeating the same statement with different user names n passwords, for example, elif username == 'any_user_name' and password == 'any_password': messagebox.showinfo('login', 'Login successful') root.destroy() top = Tk() top.configure(bg='white') U can repeat the above statement for multiple user names n passwords.