<filename>0x03-python-data_structures/10-divisible_by_2.py
#!/usr/bin/python3
def divisible_by_2(my_list=[]):
    if my_list == []:
        return (None)
    ret = []
    for i in my_list:
        if (abs(i) % 2) == 0:
            ret.append(True)
        else:
            ret.append(False)
    return ret

<filename>0x03-python-data_structures/10-divisible_by_2.py
#!/usr/bin/python3
def divisible_by_2(my_list=[]):
    if my_list == []:
        return (None)
    ret = []
    for i in my_list:
        if (abs(i) % 2) == 0:
            ret.append(True)
        else:
            ret.append(False)
    return ret

#!/usr/bin/python3