ghosty99383 ghosty99383
  • 22-02-2021
  • Computers and Technology
contestada

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 class=

Respuesta :

Cytokine
Cytokine Cytokine
  • 22-02-2021

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.

Answer Link

Otras preguntas

Consider the function below. f(x) = 5 + 2x2 − x4 (a) find the interval of increase. (enter your answer using interval notation.)
Need some pre-cal help.
After you select a cell with an error indicator, you can click the error checking _______ to display additional information about the possible error and determi
Seeing the color traffic light at an intersection a festival or holiday holiday decorations rather than a warning of independence danger is a symptom of
Which tasks does a volcanologist do to study volcanoes? Check all that apply. use autoclaves to imitate the interior of a volcano simulate volcanic explosions w
The first of the English to settle in America did so for A. economic reasons. B. religious freedom. C. new land. D. political freedom.
if you could design the ceremony, how would you inaugurate the next president of the United States?
Which compound is flammable? hoch2ch2oh nacl co2 hcl?
Which of the following correctly names a side of the triangle below
American workers are more ___ than their european counterparts.