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

Inequalities definition
How are babies made full explanation please im doing online and they not teaching me yet but my mother wont tell me and im in 7th grade
74E10. La siguiente gráfica relaciona el precio a pagar en pesos por el número de horas en un estacionamiento público. ¿Cuál es el pago, en pesos, que se debe e
plsssss helpppppp i’ll give brainliest
can you help me out??
what is the coordinating mechanism in a market system?
MULTIPLE CHOICE QUESTION Which of the above represents a cell in an isotonic solution? B А C
To observe the surface of an ant you would use... a dissecting microscope a scanning electron microscope a transmission electron microscope a compound light mic
Find the area of the composite figure made up of a square and a semicircle. Use 3.14 as an approximate for pi and give your nearest square inch. Enter only the
PLEASE HELP THANK YOU SO MUCH!!