Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

count the total number of digits in a number pthon

number = str(input('enter number'))
i = 0
while i in range(len(number)):
    i +=1
print(f'Number of digits: {i}')
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #count #total #number #digits #number #pthon
ADD COMMENT
Topic
Name
1+9 =