Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- impos = range(0,50)
- for c in range(0,3):
- for b in range (0,7):
- for a in range (0,10):
- try: impos.remove(6*a + 9*b + 20*c)
- except ValueError: ()
- print 'Highest impossible value is:', impos[len(impos)-1]
Advertisement
Add Comment
Please, Sign In to add comment