Open bmosaicml opened 1 year ago
The natural language description in the docstring requires the program to find digits
instead of numbers
, which means a
and b
must be in [0, 9]
, and 2 and 8 are the largest and smallest digits. I think maybe this is why.
The following solution and tests don't seem to match the description. Can you explain why we are bounding lower and upper to be between 2 and 8?
`def generate_integers(a, b): """ Given two positive integers a and b, return the even digits between a and b, in ascending order.
def check(candidate):