MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1xvp8cn/python_booleans_coding_python_learnpython/19sloer3uxvfm/?context=3
r/PythonLearning • u/svanidzelal • 1d ago
5 comments sorted by
View all comments
1
Careful, bool("False") is actually True since any non-empty string counts as True in Python.
1
u/RyanDubois43 1d ago
Careful, bool("False") is actually True since any non-empty string counts as True in Python.