=


Python Programming Langauge



As shown in the above example a List named "fruits" is created. Various operations like finding the length of the list, displaying individual elements in the list, appending, removing and inserting an element to the list is performed

Two Lists are concatenated with simple '+' symbol and the resultant List is displayed. You can even have value with different data types for the elements in the list. All these operations are shown in the following example. It also has code to display the data types of various elements




You can also change or modify content of element in the List. You can even nest two Lists. All these operatons are demonstrated in the above example

Strings<< Previous
Next >> Tuples

By: Vishwanath Pai M

Reference: IOT by Arshdeep Bahga, Vijay Madisetti

Our aim is to provide information to the knowledge seekers. 


comments powered by Disqus












Footer1