title: Find odd numbers in a list and square them using lambda function
body: <p>Here is the code I have got so far. Now output is <code>[1, 3, 5, 7, 9]</code></p>
  
  <pre><code>N = 10
  for i in range(1, 10):
      arr.append(i)
  
  arr2 = []
  f = lambda x: x ** 2
  arr2 = filter(lambda x: x % 2 != 0, arr)
  map(lambda x: x ** 2, arr2)
  print(list(arr2))```
  </code></pre>