0:00:00
Given a list called int_list, write a function called last_element to return the last element of the list.
int_list
last_element
Example:
Input:
int_list = [0,1,2]
Output:
last_element(int_list) -> 2
Comments