94.0k views
23 votes
PLEASE HELP ITS CODING AND I INCLUDED A SCREENSHOT OF WHAT TO DO

PLEASE HELP ITS CODING AND I INCLUDED A SCREENSHOT OF WHAT TO DO-example-1

1 Answer

3 votes

def even_checker(lst):

for x in lst:

if x%2==0:

print(x)

l = [1,2,3,4,5,6,7,8,9,10]

even_checker(l)

I wrote my code in python 3.8. I hope this helps.

User Scabbage
by
3.4k points