Skip to content

Glossary: Python Basics

Constant (capitalised name)

Also written: TAX_RATE, setting in capitals

A name written in capitals, like `TAX_RATE`, that by convention marks a value which should never change. Functions can read it from the top of the file.

Where the book teaches it