L = [5, 4, 3, 2, 1] print(l[-1])
Login in to like
Login in to comment
Change list name. L = [5, 4, 3, 2, 1] and we try to print the last element from list l.
2022 Sep 16, 12:16:37 PM
or Read more about Python Quizzes
Login in to like
Login in to comment