def solution(start: int, end: int) -> int:
return len([i for i in range(start, end + 1) if '5' not in str(i)])
assert solution(1, 9) == 8
assert solution(4, 17) == 12
def solution(start: int, end: int)-> int:
# your code here
# count = 0
# for i in range(start, end + 1):
# if '5' not in str(i):
# count += 1
# return count
return len([i for i in range(start, end + 1) if '5' not in str(i)])
assert solution(1, 9) == 8
assert solution(4, 17) == 12
def solution(start: int, end: int)-> int:
return len([i for i in range(start,end+1) if '5' not in str(i)])
assert solution(1, 9) == 8
assert solution(4, 17) == 12