Python code help
What I want to do is once the password and username has been entered correctly, it will print hey (just for testing, I want it to move on to another piece of code) But if the user and password are incorrect or any incorrect combination, it will keep asking until you input the correct combination (it would be even better if you had a certain amount of attempts) I've written this but i'm not great a progamming, so naturally, its doesn't work I've written a code like this that does work however it doesnt keep asking until I get it right. Thanks :) User =("Plurgie") Pass =("password123") correct = False while correct == False: Tryuser = input("Enter Username: ") Trypass = input("Enter Password: ") if Tryuser == User and Trypass == Pass: correct == True if correct == True: print("Hey")