username = input("Username: ") password = input("Password: ") passright = bool(False) userright = bool(False) if username == "Gaz1234": userright = bool(True) else: print("Username wrong!") if password == "Miles": passright = bool(True) else: print("Password wrong!") if passright and userright == bool(True): print("Welcome")