asking

alex23 wuwei23 at gmail.com
Wed Aug 22 05:42:16 EDT 2012


On 08/22/2012 03:17 AM, mingqiang hu wrote:
> I mean any of "a","b","c" in string "adfbdfc"  makes the statement true,can
> I not use a function?

any(map(string.__contains__, substrings))



More information about the Python-list mailing list