My Tech Notes
Python: check if a list is empty
if not a:
print('empty')
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment