diff --git a/06_breadth-first_search/python/01_breadth-first_search.py b/06_breadth-first_search/python/01_breadth-first_search.py index c488417..aac8e8c 100644 --- a/06_breadth-first_search/python/01_breadth-first_search.py +++ b/06_breadth-first_search/python/01_breadth-first_search.py @@ -21,7 +21,7 @@ def search(name): while search_queue: person = search_queue.popleft() # Only search this person if you haven't already searched them. - if not person in searched: + if person not in searched: if person_is_seller(person): print person + " is a mango seller!" return True