Return specific element of a list
GIven a list and integer, return a certain element from the list based on the integer.
Sample Code:
def getEle(li,i):
# Enter your logic here...
Examples:
Input: ['Jan','Feb','Mar','Apr','May'],3
Output: 'Mar'
Explanation: String 'Mar' is located in position 3 in the list.
Input: [{id:1},{id:2},{id:3}],1
Output: {id:1}
Explanation: Dict {id:1} is located in position 1 in the list.