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

 

between


Write a function between(number, low, high) that returns True if number is in the interval [low,high] (between (or equal to) low and high), and False otherwise.


between(3, 1, 6) → True
between(2, 2, 2) → True
between(5, 2, 4) → False

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

def between(n, 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