userUsername = input("Username: ") userPassword = input("Password: ") realUsername = "jim59" realPassword = "bananas" if userUsername == realUsername : print() else : print("Sorry, but your username is not recognised") if userPassword == realPassword : print() else : print("Sorry, but your password is incorrect") if userUsername == realUsername and userPassword == realPassword : print("Welcome!")