Remove specific element in a list
Given a list and a integer, remove the specific element based on the given integer.
Sample Code:
def rmvSpec(l,n):
# Enter your logic here...
Examples:
Input: ['Mon','Tues','Wed'],1
Output: ['Mon','Wed']
Explanation: Element 'Tues' at index 1 has been removed.
Input: [1,2,3],0
Output: [2,3]
Explanation: Element 1 at index 0 has been removed.