Section: Basics and running code

Read input

python
python
name = input("Name: ")

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
Print text
Print text
OpenIn sheetpythonsame section
Multiple assignment
Multiple assignment
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