
Tech
PYTHON Data Structures lists, Tuples, Dictionaries and Sets
INTRODUCTION
After learning storing single values in variables, We needed a way to hold collection of data i.e multiple ride counts
multiple cities etc.
Python offers four main data structures for this that is:
LISTS
A list is a built-in data type used to store multiple items in a single variable.
A list can be changed and allows addition of more items
It can also contain items of different data types
Lists also preserve and allows duplicate values
![ ]( https://dev-...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to