Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Python tricks

by parv (Parson)
on Dec 18, 2018 at 13:08 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1227394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-18 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found