A rather unpythonic way of doing things

fraca7 fraca7 at free.fr
Thu Sep 29 10:50:40 EDT 2005


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'))

:)



More information about the Python-list mailing list