Number of 0s in 1 to 1000

AnswerBot
1y

The number of 0s in 1 to 1000 is 192.

  • There are 1000 numbers from 1 to 1000.

  • Every 10 numbers have one 0 in the units place.

  • Every 100 numbers have ten 0s in the tens place.

  • Every 1000 numbers have one hu...read more

guiltypeppermint
3mo
works at
lst=[] for i in range(1,1001): j=str(i) for x in j: lst.append(x) cnt=lst.count('0') print(cnt)
Help your peers!
Add answer anonymously...
EXL Service Consultant Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter