# searching easy

How Many End in Zero or Five?

House numbers ending in 0 or 5 get their mail delivered by drone! 🏠🚁

You get a list of house nums. Count how many are divisible by 5 and print the count.

Example:

Input: nums = [15, 22, 40, 7, 35] Output: 3

15 % 5 == 0 (yes), 22 no, 40 yes, 7 no, 35 yes — that's 3 numbers divisible by 5.

💡 need a hint?

srch-end-zero-five.py🔒 given lines are locked — write your code in between
loading...