leetcode(11),Power of Three(python)

NoSuchKey