diff options
Diffstat (limited to 'progs/a268.py')
-rw-r--r-- | progs/a268.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a268.py b/progs/a268.py new file mode 100644 index 0000000..8ef2850 --- /dev/null +++ b/progs/a268.py @@ -0,0 +1,3 @@ +def remove_list_range(list1, leftrange, rigthrange):
+ result = [i for i in list1 if (min(i)>=leftrange and max(i)<=rigthrange)]
+ return result
\ No newline at end of file |