Python — From Basics to Advanced · First Steps
Hello, World! and the print Function
First Steps
Introduction
Every programmer starts with the same thing: printing text to the screen. In Python you use the print() function. It looks simple, but it has a few tricks worth knowing from day one — separators, line endings, escape sequences, quotes, and comments.