File size: 139 Bytes
759f238 | 1 2 3 4 5 6 7 |
def odd_Equivalent(s,n):
count=0
for i in range(0,n):
if (s[i] == '1'):
count = count + 1
return count |
759f238 | 1 2 3 4 5 6 7 |
def odd_Equivalent(s,n):
count=0
for i in range(0,n):
if (s[i] == '1'):
count = count + 1
return count |