def save_new_pass() -> str:
    """
    086
    Ask the user to enter a new password. Ask them to enter it again. If the two passwords
    match, display “Thank you”. If the letters are correct but in the wrong case, display the
    message “They must be in the same case”, otherwise display the message “Incorrect”.
    """
    pass1 = input("Enter a new password: ").lower()
    pass2 = input("Retype your new password: ")
    if pass1 == pass2:
        return "Thank you!"
    elif pass1.islower() and not pass2.islower():
        return "They must be in the same case."
    else:
        return "Incorrect!"