Guitars ๐ŸŽธ + Code ๐Ÿ‘จ๐Ÿพโ€๐Ÿ’ป

Earth
Joined March 2012
Replying to @cassidoo
Good old for-loop and Java โ˜•๏ธ Well there's the one-liner Python ๐Ÿ too, sum([ str(i).count('1') for i in range(1, n) if '1' in str(i) ]) โ˜๐Ÿพ assuming we are returning this line from a method that takes n as parameter ๐Ÿคช
1
Replying to @timClicks
@timClicks is it too early? ๐Ÿ˜†
2
13
Replying to @cassidoo
for the love of C++
1
Happy 4th anniversary ๐ŸŽ๐ŸŽŠ๐ŸŽ‰ and thanks for keeping it fun and challenging ๐Ÿฅ‚
1
Replying to @cassidoo
Python ๐Ÿ
1