You are viewing a single comment's thread. Return to all comments →
what's the difference between saying 'len(lst) > 0' and just 'l' to check if the list isn't empty? the former works while the latter doesn't
Seems like cookies are disabled on this browser, please enable them to open this website
Stacks: Balanced Brackets
You are viewing a single comment's thread. Return to all comments →
what's the difference between saying 'len(lst) > 0' and just 'l' to check if the list isn't empty? the former works while the latter doesn't