SyntaxFix
Write A Post
Hire A Developer
Questions
print(len(a_list))
As many languages have the len() function, in Python this would work for your question.
len()
If the output is not 0, the list is not empty.
0