user = input("Username: ") password = input("password: ") if user == "jim59" and password == "bananas": print("Welcome!") else: if user != "jim59": print("Sorry, but your username is not recognised") else: if password != "bananas": print("sorry your password is incorrect")