title: Unsupported operand type(s) for +: 'NoneType' and 'str' and 'int'
body: <p><strong>Code:</strong></p>
  
  <pre><code>String1 = " Is right"
  g = lambda x: x ** 2 
  print(g(8)) + str(String1)
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/Computer/Desktop/Testing.py", line 3, in &lt;module&gt;
      print(g(8)) + str(String1)
  TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
  </code></pre>
  
  <p><strong>Code2:
  I tried adding this too:</strong></p>
  
  <pre><code>g = lambda x: x ** 2  + " Should be right!"
  print(g(8))
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/Computer/Desktop/Testing.py", line 2, in &lt;module&gt;
      print(g(8))
    File "C:/Users/Computer/Desktop/Testing.py", line 1, in &lt;lambda&gt;
      g = lambda x: x ** 2  + " Should be right!"
  TypeError: unsupported operand type(s) for +: 'int' and 'str'
  </code></pre>
  
  <p>I tried it with int and str but it still had problems?</p>
  
  <p>Also When fixing, please explain how the fixed code works :) i dont want to just copy a fixed line</p>