## a few minor similarities – python ^ perl

filter() == grep
map() == map
truth table
deleting a hash key — del myDict[“key2”]

function returning multiple values — return (a,b,c)

value1, value2 = multi_valued_function()

named param — f(id=123,age=38)

looping over a file content — for aLine in open (“myFile”) :

lots of command line options.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s