title: is it possible to create a "cout <<" function in Python?
body: <p>Unlike C++ <code>cout &lt;&lt;</code>, Python <code>print()</code> function prints the passed arguments with an endline/newline and sometimes I found it annoying having multiple lines in terminal.
  I know I can use the <code>print(var1, end='')</code> or <code>sys.stderr.write()</code> from sys library but it's too long and quite hard to read.
  What I think is that may be I can make a <code>cout&lt;&lt;</code> operator in python and prints variables or values without new line at the end</p>
  <pre><code># Example in Python:
  for x in range(3):
      print(x)
  
  # Output:
  0
  1
  2
  
  # In C++:    
  for (int x = 0; x &lt; 3; x++){
      cout &lt;&lt; x &lt;&lt; ' ';
  }
  
  # output:
  0 1 2
  </code></pre>
  <p>Also, '&lt;&lt;' is much easier to type because the key is in the lower portion of the keyboard unlike parenthesis.</p>