Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- count = 0
- for a in range(14):
- for b in range(12):
- for c in range(9):
- if 185 == a*15+b*17+c*21:
- count += 1
- print(a,b,c)
- print('Всего способов - ', count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement