leetcode practice - python3 (8)

NoSuchKey