Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Python tricks

by parv (Vicar)
on Dec 18, 2018 at 13:08 UTC ( #1227394=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1227394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2020-10-20 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (210 votes). Check out past polls.

    Notices?