id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

konstans@stuy.edu > filterRange
prev  |  next  |  chance

Write a function filterRange(data,low,high) that removes all elements from a list of integers that are between low and high inclusive. Do not make a new list, modify the existing list and return it. (Normally you wouldn't have to return it but codingbat only checks return values)


filterRange([], 10, 67) → []
filterRange([30], 19, 70) → []
filterRange([30], 60, 70) → [30]

...Save, Compile, Run (ctrl-enter)

def filterRange(data,low,high):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy