[Snark] Python procedure
Stephen Paul Weber
singpolyma at singpolyma.net
Fri Nov 9 01:49:23 UTC 2018
> # rule 1
> if s in VOWELS or s.startswith('xr') or s.startswith('yt'):
> return s + 'ay'
My main overall thought in this one is that it, well, isn't bad. It's not
the best code I've ever seen, but it encodes each rule in a mostly
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Snark