📜  python if type dict - Python代码示例

📅  最后修改于: 2022-03-11 14:46:56.627000             🧑  作者: Mango

代码示例1
my_dict = isinstance({"A":"a", "B":"b", "C":"c", "D":"d"},dict)
print("my_dict is a dict:", my_dict)