in reply to Python tricks
Did your Perl solution to X cut off? Also, part of X is listed before IX (or, vice versa?).
Solutions to I, III-VII look same enough to me in both. Python 2 solution (untested) for IX:
# Is this not sufficient? def is_anagram( A , B ): return sorted( list( A ) ) == sorted( list( B ) )
|
|---|