<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_or_delete(dictionary, key, value):
 """ Set value as value of dict key key. If value is None, delete key key from dict. :param dictionary: Dictionary to work on. :param key: Key to set or delete. If deleting and key does not exist in dict, nothing is done. :param value: Value to set. If value is None, delete key. :return: Nothing, modifies dict in place. """

    if value:
        dictionary[key] = value
    else:
        if dictionary.get(key):
            del dictionary[key]