Step through each print
1print("Line 1")
2print("Line 2")
Press "Next print" to simulate execution
0 / 2 lines printed
Each print() is one line on a receipt or bus display. Programs often print several lines to show steps, labels, or results.
Each print() is a new ticket on the screen, in the order you write them.
Order in the file = order on the screen.
It means showing more than one line in the terminal. Each print() call usually creates one new output line.
Used in receipts, reports, summaries, logs, menus, and command-line tools that display information line by line.
A city bus screen shows Line 1: Route 42 then Line 2: Next stop — Library. Two print() calls do the same: first line, then second line.
Line 1 then Line 2.