Teacher:In this task, you are given an input list A. You need to convert all the alphabets in the list with a number representing their position in the English alphabet. E.g., replace A by 1, B by 2, a by 1, b by 2, and so on.
Teacher: Now, understand the problem? Solve this instance: ['q', 'n', 's', 'G', '3321', 'W', '4387', 'x', 'v', '2135', 'S', '3313', '439', '1997', '6747', '1315', 'T', '6299', '8355', '4191', '3405', '2291', 'j', 'o', 'X', 'P', '7525', 'X', '8601', 'p', '9899', 'F', 'p', '5981', 'f', '6167', '9505']
Student:
17, 14, 19, 7, 3321, 23, 4387, 24, 22, 2135, 19, 3313, 439, 1997, 6747, 1315, 20, 6299, 8355, 4191, 3405, 2291, 10, 15, 24, 16, 7525, 24, 8601, 16, 9899, 6, 16, 5981, 6, 6167, 9505