How do I check if a list is empty?
Asked 07 September, 2021
Viewed 370 times
  • 60
Votes

For example, if passed the following:

a = []

How do I check to see if a is empty?

27 Answer