title: What is the Python equivalent of map in Ruby and Javascript?
body: <p>Say for example I want to split string <code>"12:30-14:40"</code> and have the result in a matrix like: <code>[["12","30"],["14","40"]]</code>.</p>
  
  <p>I can do this in JavaScript with:</p>
  
  <pre><code>"12:30-14:40".split("-").map(function(x) {
      return x.split(':');
  });
  </code></pre>
  
  <p>and in Ruby with:</p>
  
  <pre><code> "12:30-14:40".split("-").map{|x| x.split(":")}
  </code></pre>
  
  <p>What would be the python equivalent for the above?</p>