Skip to content

Glossary: Python Basics

Block

Also written: code block

A group of indented lines that belong together under a line ending in a colon, such as the lines under an `if`, a loop or a `def`.

Where the book teaches it

Related terms

if statement