title: Python Print Order
body: <p>This is probably a dumb question, but I'm new to programming and I have a recursive function set up that I'm trying to figure out. For any print function in Python, is it necessarily true that lines are printed in the order that they are written in the script OR for larger outputs, is it possible that smaller length outputs can get printed first in the console even though the print statement is later in the code (maybe due to some memory lag)?</p>
  
  <p>Example: </p>
  
  <pre><code> def test_print():
        #don't run this, but was meant for scale. Is there any chance the 1 would print before the list of lists?
        print([[i for i in range(10000)] for j in range(10000)])
        print(1)
  </code></pre>