100k views
1 vote
Which function returns the number of occurrences of the given data value?

O count
O quantity
pop
O index
Help!!!!!!

User Spyros
by
4.6k points

1 Answer

3 votes

Answer:

The answer woud be COUNT

Step-by-step explanation:

because in a python program it counts the number of a specified value to see how many times that value occcurs.

>>> tupleB = (5, 7, 5, 10, 2, 7)

>>> tupleB.count(7)

Run these lines of code in python.

User Whirlwin
by
4.6k points