Extract the first element of a list
Given a list, return the very first element.
Sample Code:
def firstEle(l):
# Enter your logic here...
Examples:
Input: [1,2,3,4]
Output: 1
Explanation: Element 1 has an index value of zero.
Input: [[1,2],[3,4]]
Output: [1,2]
Explanation: Element [1,2] has an index value of zero.