nq1s788

6 с параметром A

May 24th, 2025
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. p = [(16, 12), (-8, -10), (18, 2), (5, -5), (-3, -9), (-10, -2), (14, 1), (20, 5)]
  2. for a in range(-20, 30):
  3.     cnt = 0
  4.     for e in p:
  5.         if not(e[0] > a or e[1] > 5):
  6.             cnt += 1
  7.     if cnt == 5:
  8.         print(a)
Advertisement
Add Comment
Please, Sign In to add comment