List - How to Create, Append, Copy and Index a List

Lists are used when we want to keep a set or sequence of related data together, like names of students, available subjects etc. In this Coding example, we will learn how to create a list, how to use indexing to access list elements, how to derive a list from an existing list and how to add more elements to an existing list.

Try changing the code as you like. Click the button, to Run the code again.

       

Made with by Abhishek Ahlawat

© 2019 Studytonight.   All rights reserved.

DMCA.com Protection Status