# Program to count the number of digits in an integer. ''' Writea Python program to count the number of digits in an integer. or   Write a program to count thenumber of digits in an integer usingPython '''n=int(input("Enter a number:"))count=0while n>0:   n=int(n/10)   count+=1print("The number of digits in the number is", count)