Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = [(16, 12), (-8, -10), (18, 2), (5, -5), (-3, -9), (-10, -2), (14, 1), (20, 5)]
- for a in range(-20, 30):
- cnt = 0
- for e in p:
- if not(e[0] > a or e[1] > 5):
- cnt += 1
- if cnt == 5:
- print(a)
Advertisement
Add Comment
Please, Sign In to add comment