Hello everyone, i tried the exercise avoiding any shortcuts

```
def censor(text,word):
ttext=text.lower()
wword=word.lower()
lst=[]
ltext=len(text)
lword=len(word)
i=0
while i<=ltext:
count=0
for k in range(lword):
if ttext[i+k]==wword[k]:
lst.append(i+k)
count+=1
if ttext[i+k]!=wword[k] and count<=lword:
for ii in len(count):
lst.pop(i+k-ii)
if count==lword:
i=i+count
else:
i+=1
for kk in len(lst):
text[lst[kk]]='*'
return text
```

For some reason i get an error that int characters donât have len(). First of all, can anyone see if i ma wrong in any of my logic in the algorithm and secondly why do i get this error, thank you in advance.