title: How to print list of strings with lambda?
body: <p>I have a list of strings that print out just fine using a normal loop:</p>
  
  <pre><code>for x in listing:
      print(x)
  </code></pre>
  
  <p>I thought it should be pretty simple to use a lambda to reduce the loop syntax, and kickstart my learning of lambdas in Python (I'm pretty new to Python).</p>
  
  <p><a href="https://docs.python.org/dev/library/functions.html#map" rel="nofollow noreferrer">Given that the syntax</a> for <code>map</code> is <code>map(function, iterable, ...)</code> I tried:</p>
  
  <pre><code>map(lambda x: print(x), listing)
  </code></pre>
  
  <p>But this does not print anything out (it also does not produce an error). I've done some searching through material online but everything I have found to date is based on Python 2, namely mentioning that with Python 2 this isn't possible but that it <em>should</em> be in Python 3, without explicitly mentioning how so.</p>
  
  <p>What am I doing wrong?</p>