#!/usr/bin/python3
def divisible_by_2(my_list=[]):
    new_list = my_list.copy()
    for idx in range(len(my_list)):
        if (new_list[idx] % 2 == 0):
            new_list[idx] = True
        else:
            new_list[idx] = False
    return new_list

8fe86a28cfbc17398f77f3aa2cb9d46a7d5c47d3
<mask token>

def divisible_by_2(my_list=[]):
    new_list = my_list.copy()
    for idx in range(len(my_list)):
        if new_list[idx] % 2 == 0:
            new_list[idx] = True
        else:
            new_list[idx] = False
    return new_list

#!/usr/bin/python3
def divisible_by_2(my_list=[]):
    new_list = my_list.copy()
    for idx in range(len(my_list)):
        if (new_list[idx] % 2 == 0):
            new_list[idx] = True
        else:
            new_list[idx] = False
    return new_list
