Definition: 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.
Input: ['f', '8713', '6301', 'W', 'M', 'b', '1143', 'y', 'y', '1153', 's', '4245', 'p', 'S', '5579', '2717', 'j', '6313', '901', 'e', 'f', '7173', '8341', 'L', '5111', 'd', '3369', 'E', 'H', 'w', 'Z', '3587', '8347', '5499', '5791', 'F', 'V', '1905', '8351']
Output:
6, 8713, 6301, 23, 13, 2, 1143, 25, 25, 1153, 19, 4245, 16, 19, 5579, 2717, 10, 6313, 901, 5, 6, 7173, 8341, 12, 5111, 4, 3369, 5, 8, 23, 26, 3587, 8347, 5499, 5791, 6, 22, 1905, 8351