diff options
Diffstat (limited to 'progs/a728.py')
-rw-r--r-- | progs/a728.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a728.py b/progs/a728.py new file mode 100644 index 0000000..1d1bf45 --- /dev/null +++ b/progs/a728.py @@ -0,0 +1,6 @@ +def count_Digit(n):
+ count = 0
+ while n != 0:
+ n //= 10
+ count += 1
+ return count
\ No newline at end of file |