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