leetcode(12),Ugly Number(python)

NoSuchKey