Количество кортежей в питоне
# Creating a tuple using ()
t = (1, 2, 4, 5, 4, 1, 2,1 ,1)
print(t.count(1))
Coding boy Hasya
# Creating a tuple using ()
t = (1, 2, 4, 5, 4, 1, 2,1 ,1)
print(t.count(1))