Advertisement
atm-irbis

straus and bars

Feb 10th, 2013
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. for x in range(1,50):
  2.     for y in range(1,50):
  3.         a = 4*x+2*y
  4.         b = x + y
  5.         if a == 146 and b == 50:
  6.             print(x,y)
  7.             break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement