Inactive Tutor answered 06/02/19
Tutor
New to Wyzant
Use 'in' whenever possible with python collections. In the case of dictionaries the 'in' keyword uses the dictionaries hash-table instead of searching every key in stored order. Further, 'has_key()' no longer exists in python 3.x.