summaryrefslogtreecommitdiff
path: root/progs/a613.py
blob: 85772792b8a4e93a7d86645c3ff4ef3da36067aa (plain)
1
2
3
4
5
6
def count_X(tup, x): 
    count = 0
    for ele in tup: 
        if (ele == x): 
            count = count + 1
    return count