Section: Basics and running code

Print text

python
python
print("Hello, world!")

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Basics and running code
Multiple assignment
Multiple assignment
OpenIn sheetpythonsame section
Read input
Read input
OpenIn sheetpythonsame section
Swap variables
Swap variables
OpenIn sheetpythonsame section
Command-line one-liner
Command-line one-liner
OpenIn sheetbashsame section
Run a module
Run a module
OpenIn sheetbashsame section
Integer division
Integer division