Problem Description
Write a program to find the number of digits in the given numberCODING ARENA
n=int(input())
count=0
while(n>0):
count=count+1
n=n//10
print(count)
Test Case 1
Input (stdin)655839983
Expected Output9
Test Case 2
Input (stdin)345554447432
Expected Output12
No comments:
Post a Comment