title: print type(x) SyntaxError: invalid syntax
body: <p>So I started learning python 3 and I wanted to run a very simple code on ubuntu:</p>
  
  <pre><code>print type("Hello World")
           ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>When I tried to compile that with command python3 hello.py in terminal it gave me the error above, but when used python hello.py (I think it means to use python 2 instead of 3) then it's all fine. Same when using python 3 and 2 shells in the terminal.</p>
  
  <p>It seems like I'm missing something really stupid because I did some research and found no one with the same issue.</p>