filmov
tv
Convert Python string into a boolean 🐍 #shorts
![preview_player](https://i.ytimg.com/vi/sJE8Ay6J-9k/maxresdefault.jpg)
Показать описание
n this video, we'll demonstrate how to convert a Python string into a boolean. You can't use bool(str) but instead need to do a == comparison. Lower case the string first though: