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

Find the area of the shape
Decide whether the sentence is grammatically CORRECT or INCORRECT as written. ¿Tienes una falda nueva? Will mark Brainliest
The rise of christianity what did jesus emphasize in his early teachings
A normal blood pressure reading for a healthy adult is ______ over ______
body composition refers to the amount of fat and muscle the body has true or false
As a result of education and law enforcement, negative attitudes toward the disabled are rare in society today. T F
I would like to ask about question d
What is correct way to divide the word lockers into syllables
Round each amount to the nearest hundred to find a reasonable estimate of 7245 – 5680.
The sum of two numbers is 33. The sum of the smaller and 3 times the larger is 81. Find the numbers.