Python Boolean Type
Multiple Choice Easy
Question
Which of the following is a falsy value in Python?
Hint
Only certain values are falsy — empty containers, 0, None, and False.
Explanation
The integer 0 is falsy. The string '0' is truthy (non-empty string). The string 'false' is truthy (non-empty). The list [0] is truthy (non-empty list). Only 0, 0.0, '', [], {}, None, and False are falsy in Python.
Related Resources
Related Lessons
- Python Data Types
Boolean and truthy/falsy values.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.