Skip to content
CodeItRaw
Code Reading
/
How Many in Range?
Path
Play
Daily
Leaderboard
tr
Break the Code
How Many in Range?
Write a list for which this function gives the wrong answer.
1
def
count_between
(values):
2
count =
0
3
for
v
in
values:
4
if
10
< v <=
20
:
5
count +=
1
6
return
count