2023年2月27日

函数式编程总结

摘要: a = ["shi", "xiao", "gu"]def map_func(item: str) -> str: """ 产生新集合 :param item: :return: """ item = "da" if item == "xiao" else item return item# map函 阅读全文

posted @ 2023-02-27 14:26 默玖 阅读(14) 评论(0) 推荐(0) 编辑

导航