Username = input("Username: ") Password = input("Password: ") if Username == "Jim59": if Password == "bananas": print("Welcome!") else: print("Sorry, but your password is incorrect") else: print("Sorry, but your username is not recognised")