Computer Science, asked by nevonj2am, 5 months ago

Write a python program to accept a number and count the total number of digits in it by using while loop

Answers

Answered by vikramvijaya567
1

Answer:

1 Take the value of integer and store in a variable

2 using a while loop get each digit of the number and increments the count each time a digit is obtained

3 print the number of digits in the given integer

4 exit

Similar questions