Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = []
- if not a:
- print "List is empty"
- if not seq:
- if seq:
- if len(seq)
- if not len(seq)
- a = []
- if a:
- print "not empty"
- if not a:
- print "The list is empty or null"
- if a == []:
- print "The list is empty."
- if len(li) == 0:
- print 'the list is empty'
Add Comment
Please, Sign In to add comment