t427.py 278 B

1234567891011121314151617181920
  1. l = [1,2,3,4]
  2. t = (1,2,3,4)
  3. d = {1:2,3:4}
  4. s = "1234"
  5. print zip()
  6. print zip(l), zip(t), zip(d), zip(s)
  7. print zip(l,t), zip(l,d), zip(l,s)
  8. print zip(t,d), zip(t,s)
  9. print zip(d,s)
  10. print zip(l,t,s)
  11. print zip(l,t,s,d)
  12. z = zip(l,t,s)
  13. print zip(*z)
  14. z = zip(l,t,s,d)
  15. print zip(*z)