def check_valid_password_1(minimum, maximum, letter, password):
    """PART ONE

    Checks if a password is valid based on the criteria.
    The letter must exist in the password between the min and
    max number of times to be valid.
    """
    if password.count(letter) >= minimum and password.count(letter) <= maximum:
        # print(minimum, maximum, letter, password)
        return True