Advertisement
kunansy

Untitled

Nov 19th, 2020
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. in_interval = []
  2. other = []
  3. for item in lst:
  4.     if START <= int(item) <= STOP:
  5.         in_interval += [item]
  6.     else:
  7.         other += [item]
  8. mas = in_interval + other
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement