Question: 
Write a function to count the number of elements in a list which are within a specific range.


Model's Code:
def count_range_in_list(lst, start, end):
    return sum(1 for x in lst if start <= x <= end)



Sample Correct Code:
def count_range_in_list(li, min, max):
	ctr = 0
	for x in li:
		if min <= x <= max:
			ctr += 1
	return ctr


Asserts:
assert count_range_in_list([10,20,30,40,40,40,70,80,99],40,100)==6
assert count_range_in_list(['a','b','c','d','e','f'],'a','e')==5
assert count_range_in_list([7,8,9,15,17,19,45],15,20)==3


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 700 of 974: 528/700 (75.42857142857143%): success