paint-brush
Introduction to Tuples in Pythonby@smpnjn
865 reads
865 reads

Introduction to Tuples in Python

by Johnny Simpson3mOctober 2nd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Tuples are an important data structure in Python which are quite similar to lists. The main difference between tuples and lists is tuples **cannot** be modified. Once it's created, it is fixed and unchangeable. Tuples may contain duplicates, so they aren't limited by uniqueness like [Python sets] Tuples can also be nested, just like lists. In this guide, we'll cover how to use Tuples and some of the methods and things you'd want to do with them.

Company Mentioned

Mention Thumbnail
featured image - Introduction to Tuples in Python
Johnny Simpson HackerNoon profile picture
Johnny Simpson

Johnny Simpson

@smpnjn

Product, Engineering, Web

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Johnny Simpson HackerNoon profile picture
Johnny Simpson@smpnjn
Product, Engineering, Web

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite