摘要: from collections.abc import Iterable def flatten(item: Iterable): for x in item: # if isinstance(x, Iterable) and not isinstance(x, (str, bytes, dict) 阅读全文
posted @ 2022-08-03 11:35 Tynam.Yang 阅读(24) 评论(0) 推荐(0) 编辑