summaryrefslogtreecommitdiff
path: root/progs/a906.py
blob: e25ab0c724874a6a8ab7d0631a519ee16d403c1f (plain)
1
2
3
4
5
6
7
def count_digits(num1,num2):
    number=num1+num2
    count = 0
    while(number > 0):
        number = number // 10
        count = count + 1
    return count