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

What is the equation of a parabola with vertex (0,0) and focus (0,4)? Draw its graph on the grid
the sum of two numbers is 83 and one of the number is x. what is the other number?
explain the cross section of leaf
Which of the following is equivalent to 6x 2 + x - 12 ? A. (2x + 3)(3x - 4) B. (2x - 3)(3x - 4) C. (2x + 3)(3x + 4) D. (6x + 3)(x - 12) E. (x + 3)(2x - 12) Plea
Write the equation of the line that passes through the given point and is parallel to the given line. Write the answer in slope-intercept form P(-6,3), y + 3x =
state whether ordered pair of numbers is a solution of the sentence:3y>2x+1;(4,3)
two sides of a triangle have lengths 10 and 15 what must be true about length of the third side
number patterns solve8 12 18 27
i have a few problems on combining like terms please help:1)   12r-8-122)      n-10+9n-3      3)    -4x-10x4) -r-10r
How does forest catch fire in the summer season