Answer:
printf(“%d”, i++);
Explanation:
count += 1
OR
count = count + 1
count = 0
numbers = int(input("Enter a number: "))
while number > 0:
number = number // 10
count +=1
print("Total number of digits", count)
1.6m questions
2.0m answers