Write a Python program to find the repeated items of a tuple.


Topic: Write a Python program to find the repeated items of a tuple.

Solution

tuplex = 2, 4, 5, 6, 2, 3, 4, 4, 7 
print(tuplex)
count = tuplex.count(4)
print(count)



List all Python Programs