Hello! I’m having a hard time figuring out what this program wants me to do. I don’t understand where I’m supposed to get the lists.
https://www.codecademy.com/courses/learn-python-3/articles/python-code-challenges-lists
- Larger List
"Write a function named larger_list
that has two parameters named lst1
and lst2
.
The function should return the last element of the list that contains more elements. If both lists are the same size, then return the last element of lst1
."
I don’t know if I was on the right track, but what I did first was create a variable called lst1_range = range(0,20,2). I feel like this isn’t what it wants.