Introduction to List
Python programming language has four collections of data types such as List, Tuples, Set and Dictionary. A list in Python is known as a “sequence data type” like strings. It is an ordered collection of values enclosed within square brackets [ ].
Each value of a list is called as element. It can be of any type such as numbers, characters, strings and even the nested lists as well. Th e elements can be modifi ed or mutable which means the elements can be replaced, added or removed. Every element rests at some position in the list. Th e position of an element is indexed with numbers beginning with zero which is used to locate and access a particular
element. Th us, lists are similar to arrays, what you learnt in XI std.
VIDEO LINK:
12 STD || PART - 1 || CH-9 - Lists, Tuples, Sets and Dictionary
YOUTUBE LINK :
12 STD || PART - 1 || CH-9 - Lists, Tuples, Sets and Dictionary
Tweet |
No comments:
Post a Comment
உங்கள் கருத்துகளை சொல்லுங்கள்