diff options
Diffstat (limited to 'progs/a613.py')
| -rw-r--r-- | progs/a613.py | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/progs/a613.py b/progs/a613.py new file mode 100644 index 0000000..8577279 --- /dev/null +++ b/progs/a613.py @@ -0,0 +1,6 @@ +def count_X(tup, x): 
 +    count = 0
 +    for ele in tup: 
 +        if (ele == x): 
 +            count = count + 1
 +    return count 
\ No newline at end of file | 
