"print()" is the #Python (and some other programming languages) version of the "💾 3.5in-floppy-disk-as-document-save-icon" of most software.
It's an artifact of older times, when output was, well, printed out.
Almost nobody *actually* prints program output directly out on a physical printer. But it's so deeply ingrained in coding culture, it's taken for granted and rarely questioned.
At some point the connection between "print()" and 🖨️ will become almost indecipherable to young techies.
> I think of it as print to screen,
Ah, the name "Print Screen" has exactly the same legacy. This button was meant trigger an actual printer or plotter, but now it just means a screenshot. Then the word "screenshot" has the same legacy again - originally it literally meant pointing a special camera at an oscilloscope screen to save the data on film...
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!