You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def occurrences(text1, text2):
total=0
listchars="x"
for i in text1:
if i not in listchars:
listchars += i
for j in text2:
if j in listchars:
total += 1
return total
Your for loop should iterate over the second argument
The text was updated successfully, but these errors were encountered:
Encountered in P10 on 6/8/15
Your for loop should iterate over the second argument
The text was updated successfully, but these errors were encountered: