Does anyone else not find the fun in programming...?
Tracy Ruggles
tracy at reinventnow.com
Sat Jan 17 17:08:44 EST 2004
Jeff Epler <jepler at unpythonic.net> wrote in message news:<mailman.333.1074027727.12720.python-list at python.org>...
> >>> "fun" in "programming"
> 0 # DANGIT
> >>> "programming".find("fun")
> -1 # ARGARGHARGH
> >>> "programming".index("fun")
> ValueError: substring not found in string.index # F***!
> >>> assert "programming" is "fun"
> AssertionError # I'm going home
curiosities = ("functional programming", "fundamental OO theory", \
"defunct languages", "economic funnels", "fungal analysis")
["fun" in curiosity for curiosity in curiosities]
More information about the Python-list
mailing list