number = str(input('enter number')) i = 0 while i in range(len(number)): i +=1 print(f'Number of digits: {i}')