python3 for loop字典

2024-03-28 10:41:57 发布

您现在位置:Python中文网/ 问答频道 /正文

Possible Duplicate:
whats another way to write python3 zip

有什么更好的方法来写这些东西我被介绍了这些代码,但我不习惯这样看:

(alla,allc,) = (set(s) for s in zip(*animaldictionary.keys())) 
你还能怎么写这个 ^{pr2}$

Tags: to方法代码anotherzipwaypython3write