2021年6月18日

打印输出列表里的字典

摘要: 格式[{1:2},{3:4},{5:6}] a=[{1:2},{3:4},{5:6}] for dic in a: for i in dic: print(i,dic[i]) 阅读全文

posted @ 2021-06-18 16:43 平凡之测 阅读(196) 评论(0) 推荐(0) 编辑

python 两个函数间如何调用

摘要: def a(): pass def b(): pass s=a() b(s) 或者 b(a()) 阅读全文

posted @ 2021-06-18 10:49 平凡之测 阅读(242) 评论(0) 推荐(0) 编辑

导航