A
Adam Przybyla
castle:/home/adam>python
Python 2.3 (#3, Aug 4 2003, 16:43:33)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Regards
Adam Przybyla
Python 2.3 (#3, Aug 4 2003, 16:43:33)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Why there is a difference? How to make the same thing like in map statement?[[y,x] for x,y in [1,2],[3,4]] [[2, 1], [4, 3]]
map(lambda x,y: [y,x], [1,2],[3,4]) [[3, 1], [4, 2]]
Regards
Adam Przybyla