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

The most famous piece of Mesopotamian literature is (1 point) a. the Scribe. b. the code of Hammurabi c. the epic of Gilgamesh d. ziggurat 2. The Egyptians lear
what is 15x6= because im doing ixl and need to know what 15x6=
comparing cellular and anaerobic respiration
equation for the points (3,8) (2,6) on slope
If 40% of a number is 56 what was the original number
Matter is made up of very small particles called
How does the number line represent equivalent fractions and decimals?
What Ishtar answer to 5x-83=82-6x
Which of the following statements is FALSE? bullying does not take the form of harassment assertive refusal helps resist peer pressure developing your identity
What is the unit rate of four pounds of apples that cost $1.96