List in Python (लिस्ट) :-
List (लिस्ट) Python का एक Built-in Data Type है, जिसका उपयोग एक से अधिक (Multiple) Values को एक ही Variable में Store करने के लिए किया जाता है।
List में समान (Same Type) तथा भिन्न-भिन्न (Different Types) के Data को एक साथ Store किया जा सकता है।
List एक Ordered (क्रमबद्ध), Mutable (परिवर्तनीय) तथा Dynamic (गतिशील) Data Structure है।
Python में List को Square Brackets ([]) के अंदर लिखा जाता है तथा प्रत्येक Element को Comma (,) द्वारा अलग किया जाता है।
महत्वपूर्ण: List Python में सबसे अधिक उपयोग किए जाने वाले Data Types में से एक है।
Syntax -
list_name = [item1, item2, item3, ...]
Example -
English
A List is a Built-in Data Type in Python that is used to store multiple values in a single variable.
A List can store same as well as different types of data together.
A List is an ordered, mutable, and dynamic data structure.
In Python, a List is written inside square brackets ([]), and each element is separated by a comma (,).
Important: A List is one of the most commonly used data types in Python.
Syntax -
list_name = [item1, item2, item3, ...]
Example -