0

CHALLENGE

How many times do you use the digit 9 to number the pages of a book that has 100 pages? https://code.sololearn.com/c98E89oNKkk4/?ref=app

27th Oct 2017, 6:15 PM
DamiĂŁo Brito
DamiĂŁo Brito - avatar
3 Answers
0
Not that I've learned py as yet. But, this is cleaner. https://code.sololearn.com/cQy11c4TVr17/?ref=app
27th Oct 2017, 9:49 PM
John Wells
John Wells - avatar
+ 5
The question is how many times is the digit nine used up till 100, not print all the occurances of a 9 https://code.sololearn.com/cL45ZMfIDwRI/?ref=app
6th Nov 2017, 12:02 PM
Louis
Louis - avatar
0
Makes sense... thanks anyway!
8th Nov 2017, 1:14 AM
DamiĂŁo Brito
DamiĂŁo Brito - avatar