Python Write a function, called firstLast, that takes a list as a parameter and returns a list of the first and last ele
Posted: Sun Jul 10, 2022 11:27 am
Python
Write a function, called firstLast, that takes a list as aparameter and returns a list of the first and last elements in thelist.
Write a function, called firstLast, that takes a list as aparameter and returns a list of the first and last elements in thelist.