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

 

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

Count how many elements in the list of integers that are between low and high inclusive.


countRange([], 49, 84) → 0
countRange([97], 14, 67) → 0
countRange([67], 14, 97) → 1

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

def countRange(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