Exercise: Create function to get last element of list
Define a function named get_last that takes a list as input and returns the last element of that list. Ensure the
print
statements produce the expected outputs.Premium
Python
Setting up Python environment...
Output