Single parameter 1. Write a function print_digit() which • takes a single string parameter prints all characters that ar
Posted: Mon Mar 21, 2022 4:50 pm
2. Write a function print_even() which • takes a list of integer numbers as a parameter prints all numbers that are even def print_even(a_list): ... # complete the body of this function print_even([1, 2, 3, 4, 5]) list_1 = (1, 3, 5, 7, 9, 11, 13, 15, 17, 20, 21, 20] list_2 - list(range(20, 0, -3)) print_even(list_1) print_even(list_2) # output >24 20 20 > 20 14 82