Skip to content

Instantly share code, notes, and snippets.

@HirofumiYashima
Last active August 29, 2015 14:15
Show Gist options
  • Save HirofumiYashima/bfd9b9d00c3e5993bbb1 to your computer and use it in GitHub Desktop.
Save HirofumiYashima/bfd9b9d00c3e5993bbb1 to your computer and use it in GitHub Desktop.
Python の zip( ) は、3つ以上のシーケンス・オブジェクトでも、同時にループできる ~4つまでテストして、成功した件 ref: http://qiita.com/HirofumiYashima/items/d19fe66ffd41a76edb9b
[a+b+c+d for (a, b, c,d) in zip(list1, list2, list3, list4)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment