python reset dictionary values after return code example Example: how to clear dictionary in python dict.clear()