KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The API I'm working with can return empty [] lists. The following conditional statements aren't working as expected: if myList is not None: #not working pass if myList is not []: #not working pass What will work?
Tags (comma-separated)
Save Edits
Cancel