Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dic = {1:"pa", 4:"vo", 7:"ze",
- 2:"re", 5:"mu", 8:"bi", 0:"no",
- 3:"ci", 6:"xa", 9:"so"}
- l = list()
- sum = 0
- for x in xrange(1,10001):
- for y in list(str(x)):
- if 'o' in dic[int(y)]:sum += 1
- for x in str(sum):
- print dic[int(x)],
Advertisement
Add Comment
Please, Sign In to add comment