@slide(executable=True)
def dictionaries_1():
    """ Working with dictionaries
    """
    my_dict = {'my_key': 'my_value'}
    key = 'my_key'

    if key in my_dict:
        del my_dict[key]

    if key in my_dict:
        print(my_dict[key])
    else:
        print("default value")
dataset/ETHPy150Open jsoucheiron/pttdm/pttdm.py/dictionaries_1/original