Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- varA = int(input())
- varB = int(input())
- mass = []
- i = 0
- total = 0
- min = 10000
- while i<varB-1:
- mass.append(varA+i)
- i += 1
- for n in mass:
- c = 0
- a = n
- while a > 0:
- if (n % a == 0):
- c += 1
- a -= 1
- if c == min:
- total += 1
- if c < min:
- total = 1
- min = c
- print('TOTAL : {}\nDELITEL : {}'.format(total, min))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement