10 XP challenge

Check Every Value Is in Range

easy
Build it yourself · 6 min
1 Learn2 Predict3 Solve

Task
Your mission

Return true when every value in numbers is between low and high, including both boundaries. Empty input returns true. numbers contains 0 to 30 integers from -100 to 100; -100 <= low <= high <= 100.

Examples

InputReturn
numbers = [2,4], low = 2, high = 4true
numbers = [1,4], low = 2, high = 4false

Your code

Write your answer inside Solution, then use return to send it back.

Try examples runs the public examples. Check my code checks your full answer and saves your completion.