Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in_interval = []
- other = []
- for item in lst:
- if START <= int(item) <= STOP:
- in_interval += [item]
- else:
- other += [item]
- mas = in_interval + other
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement