Skip to content

Glossary: Python Basics

Truthy and falsy

Also written: truthy, falsy

Values that count as true or false in a condition. Empty text, an empty list and `0` are falsy, and nearly everything else is truthy.

Where the book teaches it

Related terms

if statement