You’re using ‘n’ as an index. The index should be a number. Use ‘index in list’ of elemento as the index. But this would not work if you have the same letter more than once. If you want every name removed for every n in the letters list then use a count variable which increments by 1 with each run through the for loop and use that as the index.