From 33a65829c0c58c160e7a5fbd63cb6eaed541b517 Mon Sep 17 00:00:00 2001 From: Chihwei-Hsu Date: Sat, 29 Dec 2018 00:25:31 +0800 Subject: [PATCH] change print to python3 (#95) --- 06_breadth-first_search/python/01_breadth-first_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 aac8e8c..4fefda8 100644 --- a/06_breadth-first_search/python/01_breadth-first_search.py +++ b/06_breadth-first_search/python/01_breadth-first_search.py @@ -23,7 +23,7 @@ def search(name): # Only search this person if you haven't already searched them. if person not in searched: if person_is_seller(person): - print person + " is a mango seller!" + print(person + " is a mango seller!") return True else: search_queue += graph[person]