Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeLanguages
Python
plr3.13
Comparisons

Python Language Reference, Version 3.13
6.10. Comparisons

Read this Section of the Authoritative Specification

https://docs.python.org/3.13/reference/expressions.html#comparisons

3 Documented Misconceptions

Misconception
AssignCompares
= compares two values
Misconception
MapToBooleanWithIf
To map a boolean expression to a bool, an if statement is necessary
Misconception
MapToBooleanWithTernaryOperator
To map a boolean expression to a bool, a ternary conditional operator is necessary

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors