Python List Comprehension, Dictionary Comprehension
摘要:
[ x*x for x in range(5)] {i: datas[i] for i in range(len(datas))} {0:”hello”}, {1:”abc”}, … reference: https://stackoverflow.com/questions/14507591/py 阅读全文
posted @ 2024-07-20 20:27 norsd 阅读(2) 评论(0) 推荐(0) 编辑