leetcode 1663. Smallest String With A Given Numeric Value(python)

NoSuchKey