query: How to do I stop a while loop if my list doesn't have anything in it
positive_passages.docid: 9434
positive_passages.text: How do I check if a list is empty?
negative_passages.docid: 34381
negative_passages.text: How to get last items of a list in Python?
negative_passages.docid: 66620
negative_passages.text: How do I get the number of elements in a list?
negative_passages.docid: 32411
negative_passages.text: loop on list with remove
negative_passages.docid: 3489
negative_passages.text: Count the times a digit has appeared in a list as I scan the list
negative_passages.docid: 30955
negative_passages.text: Check if a string contains an element from a list (of strings)
negative_passages.docid: 111176
negative_passages.text: Do not start loop if there is no files in directory?
negative_passages.docid: 34044
negative_passages.text: Finding an item in a List using C#
negative_passages.docid: 109083
negative_passages.text: Python: Checking if a 'Dictionary' is empty doesn't seem to work
negative_passages.docid: 40590
negative_passages.text: Long list of if statements in Java
negative_passages.docid: 134785
negative_passages.text: How to check any missing number from a series of numbers?
negative_passages.docid: 46692
negative_passages.text: Finding a single number in a list
negative_passages.docid: 93912
negative_passages.text: How to skip the for loop when there are no matching files?
negative_passages.docid: 143031
negative_passages.text: How to skip an error in a loop
negative_passages.docid: 91441
negative_passages.text: What is the scope of a 'while' and 'for' loop?
negative_passages.docid: 108994
negative_passages.text: How can I get around declaring an unused variable in a for loop?
negative_passages.docid: 109190
negative_passages.text: Removing a List from a Search