Pages

Thursday, April 17, 2014

Python: check if a list is empty








    if not a:
        print('empty')



No comments:

Post a Comment