Data Structures in Python

Vijay Kumar Sharma, Vimal Kumar, Swati Sharma, Shashwat Pathak · 2021

This chapter covers an essential element of Python or any other programming language, which is data structures. Data structure deals with how the data is organized and held in the memory while the program processes the same. Python is used worldwide in various fields like deploying websites, artificial intelligence, machine learning, and many more. For making all such tasks possible, data plays a vital role, which means that data should be stored efficiently and accessed in a timely manner. For achieving this, data structures are the only key. Python has implicit support for data structures, which enables you to store and access data. These data structures are called list, tuple, dictionary, and set. Python also allows its users to create their own data structures enabling them to have full control over their functionality. Thus, in this chapter you will learn how to use various data structures of Python and will be able to develop Python scripts using them.

Read the paper · More papers on PaperTik