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