def greet(name):
    """
    Greets a person.
    :param name: a string input.
    :return: None if string empty or None else greets the name.
    """
    if name == "" or name is None:
        return None
    else:
        return "hello " + name + "!"