occurrence 2 as a gidit

 x=0

for i in range(23):

    x+=str(i).count('2')

print(x)

Comments

Popular posts from this blog

Large Factorial of array

LEARN SOMMETHING INTRESTING

Value equal to index value