DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python using boolean len
my_list = [] if not len(my_list): print("the list is empty")
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#boolean
#len
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit