Math, asked by smruti98, 11 months ago

what are the lists in python..?​

Answers

Answered by Anonymous
6

Answer:

In Python, list is a type of container in Data Structures, which is used to store multiple data at the same time. Unlike Sets, the list in Python are ordered and have a definite count. The elements in a list are indexed according to a definite sequence and the indexing of a list is done with 0 being the first index.

A list is a data structure in Python that is a mutable, or changeable, ordered sequence of elements. Each element or value that is inside of a list is called an item. Just as strings are defined as characters between quotes, lists are defined by having values between square brackets [ ] .

copy mara hai xD xD

Answered by nsprabha
1

Answer:

A list is a collection which is ordered and changeable. In Python lists are written with square brackets.[ ]

eg;-[1,2,"hello"],etc

Similar questions