hello, first let me show you my code,
for number in num: if(number%10==0): new_list.append(number) return new_list
print(divisible_by_ten([20, 25, 30, 35, 40]))
This codes only return , But I want to return all the integers to new list which is divisible by ten. Can anyone help me out or tell me what did I miss?