diff options
Diffstat (limited to 'progs/a906.py')
-rw-r--r-- | progs/a906.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a906.py b/progs/a906.py new file mode 100644 index 0000000..e25ab0c --- /dev/null +++ b/progs/a906.py @@ -0,0 +1,7 @@ +def count_digits(num1,num2):
+ number=num1+num2
+ count = 0
+ while(number > 0):
+ number = number // 10
+ count = count + 1
+ return count
\ No newline at end of file |