How can the following be finished?
characters = [\'a\'\'b\'\'c\'\'d\'\'e\'\'f\'\'g\'\'h\'\'i\'\'j\'\'k\'\'l\'\'m\'\'n\'\'o\'\'p\'\'q\'\'r\'\'t\'\'u\'\'v\'\'w
You can map the alphabet to a list and return the index of each one as per the below :
import string alphabet=string.ascii_lowercase #alphabet='abcdefghijklmnopqrstuvwxyz' #Get the character index , ex: e print(chars.find('e')) #This will return 4