My Tech Notes
Search This Blog
Python: check if a list is empty
if not a:
print('empty')
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment