Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def Q15(s,a):
c = 0
for i in range(0,len(s)):
if(s[i] == a):
c += 1
return c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.