LeetCode:263. Ugly Number - Python

NoSuchKey