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

divide 500 in a ratio of 3:7
The process that releases energy from food in the presence of oxygen is ?
the issue of slavery was largely responsible for the party realignment that followed the election of
A compound with a formula mass of 42.08 u is found to be 85.64% carbon and 14.36% hydrogen by mass. Find its molecular formula.
what effect did European settlement have on American Indians
factor the sum of terms as a product of the GCF and a sum: 60+48 what is the ansawer?
during a test crash an airbag inflates to stop a dummies forward motion. the dummies mass is 75 kg. if the net force on the dummy is 825N toward the rear of th
Who were the Puritans? What beliefs did they hold about government and human nature?
A car travels with an average speed of 55 miles/hr. What is this speed in a. m/hr? b. km/s? c. m/s?
what fraction of 1 litre is 50ml