Skip to content

Below Threshold

Andrew Burke edited this page Apr 3, 2024 · 5 revisions
def count_less_than(numbers, threshold):
	count = 0
	for num in numbers:
		if num < threshold:
			count += 1
	return count
Clone this wiki locally