tutorial.eyehunts.com
Python check if the list is empty | Example code
You can simply check if the list is empty using the if statement in Python. Use the len() methods and if len is zero then the list is empty.
Rohit