A rather unpythonic way of doing things

Jeff Schwab jeffrey.schwab at rcn.com
Thu Sep 29 10:52:17 EDT 2005


fraca7 wrote:
> Richie Hindle a écrit :
> 
>> [Peter]
>>
>>> http://www.pick.ucam.org/~ptc24/yvfc.html
>>
>>
>>
>> [Jeff]
>>
>>> Yuma Valley Agricultural Center?
>>> Yaak Valley Forest Council?
>>
>>
>>
>> I went through the same process.  My guess is "Yes, Very F'ing Clever."
>> Peter?
>>
> 
> print ''.join(map(lambda x: chr((((ord(x) - ord('a')) + 13) % 26) + 
> ord('a')), 'yvfc'))
> 
> :)

LOL.  Thank you!



More information about the Python-list mailing list