[python3]771. Jewels and Stones

a = 0
for i in range(len(J)):
    a = S.count(J[i])+a
print (a)

留言

張貼留言