please could some one understand what i am saying i need a program that can count number of digit in a number given by the user .for example if we see123 it has 3 digits...?
mikio
0
Newbie Poster
Recommended Answers
Jump to PostI don't know Phyton but here is the algorithm
counter = 0
while : number >= 1
number = number / 10
counter = counter + 1print counter
All 3 Replies
Tellalca
19
Posting Whiz in Training
snippsat
661
Master Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.