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

Select 2 global wind currents that rise or sink slowly. 1.tradewinds 2.horse latitudes 3.doldrums 4.westerlies
how do you rearrange the formula of density
if the presodent vetos a bill
pleasee answer the question in the picture
Luisa quiere pescar ella quiere ir . a. al lago b. al zoológico c. jugar dominó
PLEASE HELP WILL GIVE BRAINLIEST TO CORRECT ANSWER What facts are critical to include in the introduction of a biography? A.The person's name, where he/she is
The Muslim Brotherhood has become an accepted political party in Egypt. Iran. Lebanon. Saudi Arabia.
PLEASE HELP WITH 12-21
What factors undermined republican control of the federal government during the 1870s?
Your class wants to know to most typical age of student in your class. It collects the ages of all students and the teacher. Which measures of central tendency