r/PythonLearning • u/svanidzelal • 1d ago
Python Booleans #coding #python #learnpython #programming
https://youtube.com/shorts/3urX29ua5z8?si=1c7bagckP1vzaM-T
2
Upvotes
1
u/RyanDubois43 1d ago
Careful, bool("False") is actually True since any non-empty string counts as True in Python.
1

•
u/Sea-Ad7805 1d ago
Run program above by clicking Memory Graph Web Debugger and see its state change step by step.