Exercises With Solutions On Python lists
Exercise 1 || Solution Write a python algorithm to display all elements of a given list by two different ways. Exercise 2 || Solution Write a Python algorithm to swap the first element with the last element of a given list. Example: if L = ["Python", "Java", "C++", "Javascript"], the algorithm returns the list: ["Javascript",…