问题 I want to make a function that iterate through a nested dict that include list. For each value that match with a keyword, the function replace it with another keyword. It's not important if the function return another dict or if it change the main dict. I tried to separate the case: - if the data is a dict, make something - if the data is a list, make something else DICT: data_dict = { "name": "AAAAAA", "content": "BBBBBB", "dat": [ { "author": { "name": "CCCCCC", "surname": "DDDDDD", },