Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chislo = int(input())
- cifra = chislo % 10
- c = [cifra]
- a = 100
- for i in range (len(str(chislo)) - 1):
- cifra = (chislo % a - cifra % (a // 10)) // (a // 10)
- a *= 10
- c += [cifra]
- min_1 = min(c)
- print(c.count(min_1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement