JKJKJKJKGFGH9051 JKJKJKJKGFGH9051
  • 25-01-2021
  • Computers and Technology
contestada

What is the next line?

>>> tuple B = (5, 7, 5, 10, 2. 7)

>>> tupleB.count(7)

1

0

2

5

Respuesta :

Jamesanny20
Jamesanny20 Jamesanny20
  • 27-01-2021

Answer:

Answered below

Explanation:

The next line is 1.

The python count function returns the number of times an element appears in a tuple or a list.

In the tupleB tuple, 7 is passed into the count function. The number of times 7 appears in tupleB is just once alongside 5, 2.7, 10 and 5. Therefore, the count function returns 1 in the next line.

Answer Link

Otras preguntas

Write 927 as a mathematical expression in expanded form.​
What is Turner's Syndrome?
Clare had $110 in her saving. She wanted to buy an MP3 player for $ 118 what is the difference between how much money Clare had and how much she needed
how did the war affect the need of railroad
Find the midpoint of the segment with the given endpoints. (1/4,-4/9) and (-5/2,1/2). 21 points help me out
Describes how people in one area connect with people in other areas
pseudocode is a good choice to communicate a _____ of a process is it?!1.step 2.summary 3.close up
How to know what gases have more effusion?
I need help please, will mark you the brainliest.
what environmental change allowed people to travel by land between Asia and North America