<filename>s13_debug_unittest/bug.py<gh_stars>10-100

numbers = [1, 2, 3, 4, 10, -4, -7, 0]

def all_even(num_list):

    even_numbers = []
    for number in num_list:
        if number%2 == 0:
            even_numbers.append(number)

    return even_numbers


print(all_even(numbers))
<filename>s13_debug_unittest/bug.py<gh_stars>10-100

numbers = [1, 2, 3, 4, 10, -4, -7, 0]

def all_even(num_list):

    even_numbers = []
    for number in num_list:
        if number%2 == 0:
            even_numbers.append(number)

    return even_numbers


print(all_even(numbers))