leetcode practice - python3 (15)

NoSuchKey