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