Computer Science, asked by Anonymous, 3 months ago

Write a short note on lists in Python.

Answers

Answered by Anonymous
6

Answer:

In Python programming, a list is created by placing all the items (elements) inside square brackets [] , separated by commas. It can have any number of items and they may be of different types (integer, float, string etc.). A list can also have another list as an item. This is called a nested list.

Please follow

Answered by btsarmyforever90
1

Answer:

Lists are used to store multiple items in a single variable. Lists are one of 4 built-in data types in Python used to store collections of data, the other 3 are Tuple, Set, and Dictionary, all with different qualities and usage.

Similar questions