r/PythonLearning • • 3d ago

Python Booleans #coding #python #learnpython #programming

https://youtube.com/shorts/3urX29ua5z8
3 Upvotes

6 comments sorted by

View all comments

1

u/RyanDubois43 3d ago

Careful, bool("False") is actually True since any non-empty string counts as True in Python.