romach
4/13/2017 - 11:38 PM

Check list length

Check list length

if len(li) == 0:
    print('the list is empty')