Anagrams
sandipm
sandip.more at gmail.com
Wed Oct 24 23:40:12 EDT 2007
More information about the Python-list mailing list
Wed Oct 24 23:40:12 EDT 2007
- Previous message (by thread): Anagrams
- Next message (by thread): Anagrams
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
thanks..I am using python 2.4.4. so i couldnt find "all" either as inbuilt module or by doing "from itertools import *", "all" is not available. I think I need to move to 2.5 then.... but what are the pros/cons of moving to 2.5? as we are using 2.4.4 on production server which is quite stable. any good pointers? sandip On Oct 24, 9:32 pm, Tim Chase <python.l... at tim.thechases.com> wrote: > >> Is "all" inbuilt function in python? what it does? > > >>>> help(all) > > Help on built-in function all in module __builtin__: > > > all(...) > > all(iterable) -> bool > > > Return True if bool(x) is True for all values x in the iterable. > > It may be helpful to know that any() and all() were added in > Python 2.5 > > http://docs.python.org/lib/built-in-funcs.html#l2h-9 > > -tkc
- Previous message (by thread): Anagrams
- Next message (by thread): Anagrams
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list