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