amilylove662053
amilylove662053 amilylove662053
  • 03-11-2020
  • Computers and Technology
contestada

How many passes will it take to find the 20 in this list? (python)

10, 12, 14, 16, 18, 19, 20

3

1

2

4

Respuesta :

StreetFighterLan123
StreetFighterLan123 StreetFighterLan123
  • 05-11-2020

Answer:

1

Explanation:

What do you mean by a pass? A pass through each number in the list?

for x in numLst:

    if x == 20:

         return True

This would run through the list once, as you're just checking if each element is 20 in this loop.

Answer Link
24jmiller99 24jmiller99
  • 11-12-2020

Answer:

2

Explanation:

on edge right

Answer Link

Otras preguntas

Write a speech on Endurance
Time spent in confinement in a jail or prison as a consequence of a judicial sentence is referred to as
what is Multimeter?Thenku!!​
You roll a 6-sided die. What is P(even)? Write your answer as a fraction or whole number.
the graph of a liner relationship has a slope of -5 and passes through the point (2, -12). write tge equation of the liner in the slope- intercept form.
what is (-2,6) and ( 5,13) in slope
The gravitation force between two masses (36n if the distance between masses is tripled, the force of gravity will be).
Please share your feelings or write a letter to my teacher ill give you 45 points, if you do it in 45 minutes ill give you brainliest
Which of these is equivalent to 3 π/5rad? A) 1082 B) 150 0216 D) 300
54 is what percent of 24? Enter your answer in the box.