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: ['p', '6901', 'G', 'g', 'Q', 'V', '1811', 'Z', '9937', 'y', '2977', 'J', '9681', '7705', 'E', '8689', 'C', 'R', '1699', '5159', '7995', 'X', '2829', '1279', '1945', '8191', '3205', '6323', '9875']
Output:
16, 6901, 7, 7, 17, 22, 1811, 26, 9937, 25, 2977, 10, 9681, 7705, 5, 8689, 3, 18, 1699, 5159, 7995, 24, 2829, 1279, 1945, 8191, 3205, 6323, 9875