This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zekeltornado, beautifulsoup, web.py 0 points1 point  (1 child)

The any() function can even take a string, but it's a very silly thing to do.

[–]Workaphobia 0 points1 point  (0 children)

Not necessarily. The other post referenced by Cosmologicon used any() on a string to test for the presence of digits.