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

What was the basis of the religious conflict between the Romans and the Anglo-Saxons? A. The Anglo-Saxons were Christian and the Romans were Catholic. B. The
Which culture established the first villages in Oklahoma between 800 and 1400 ce
What is The common Denominator of 2/3 and 3/4?
HELP!! CONFUSED!! Been Stuck ON Number #20
Find the area of the combined rectangle
What is the Y intercept
What kind of animal needs to compete to get attention of a potential mate?
A line and a point not on the line lie in exactly one plane. true or false
My Hero My Gran is my hero. She is brilliant. She loves to read. She is easily bored. As a young girl, she struggled a great deal. She left home at 21. She move
The average score on a standardized test is 500 points with a standard deviation of 50 points. What is the probability that a student scores more than 400 on th