username = input("Username: ") password = input("Password: ") if username == "SahajOMG" and password == "sahaj3107": print("Correct! Access Granted") elif password == "sahaj3107" and username != "SahajOMG": print("Invalid Username.") elif username == "SahajOMG" and password != "sahaj3107": print("Invalid Password.") else: print("Invalid.")