Find 7

Very Simple Question: Solve this within 01 minute.

From 1 to 100, how many 7 are there?

20 10 19 18

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Shamima Shimu
Apr 27, 2014

Total nos of 7 (from 1 to 69),

= 7, 17, 27, 37, 47, 57, 67 = 07 nos

Total nos of 7 (from 70 to 79),

= 70, 71,72 ,73, 74, 75, 76, 77, 78, 79 = 11 nos (77 has 02 nos of 7)

Total nos of 7 (from 80 to 100),

= 87, 97 = 02 nos

So, Total nos of 7 from 1 to 100 = 07 + 11 + 02 = 20

Fletcher Mattox
Apr 15, 2021
1
print(sum(str(i).count('7') for i in range(100)))

1
20

Vishnudatt Gupta
May 2, 2014

Twenty, 7, 17, 27, 37, 47, 57, 67, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 87,97.

by p&nc we can fill unit digit of two digit number in 2 ways & tens digit in all 10 ways (1 to 10)

so answer is 20

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...