Ask Your Question

Revision history [back]

For efficiency, print instructions send output to a buffer, and the printing can happen later.

To force printing immediately, try flushing the output.

See https://duckduckgo.com/?q=python+flush.