请问执行完以下代码后,输出结果为?
def is_lucky(num): if num % 6 == 0: return True while num > 0: if num % 10 == 6 or num % 10 == 8: return True num /= 10 return False ls = [13, 666, 888, 32, 332, 987, 555, 345, 876] cnt = 0 for n in ls: if is_lucky(n): cnt += 1 print(cnt)
3
4
5
6