filmov
tv
Check Empty String In Python Using bool() Function
Показать описание
How can you check if a string is empty in Python?
One approach is to to use the built-in bool() function which converts the string variable to a boolean value.
One approach is to to use the built-in bool() function which converts the string variable to a boolean value.