CodeX
Published in

CodeX

Python Tuples Named and Unnamed

Photo by Annie Spratt on Unsplash

Background on Tuples

With dictionaries* to handle unordered objects and lists to handle ordered objects, you might wonder where the data type tuple should be utilized. Python’s creator is a mathematician by training and he created the tuple as a simple association of objects. The word ‘tuple’ is derived from mathematics and refers to a finite ordered sequence of elements.

--

--

--

Everything connected with Tech & Code. Follow to join our 900K+ monthly readers

Recommended from Medium

Does learning to CODE make your child a GENIUS?

Does learing coding make your child intelligent

Why Learning to Program Video Games Isn’t a Waste of Time 🎮.

Get CUDA the right way.

Software project development with Agile frameworks: from Scrum to Kanban

From RDBMS to Non-Relational Databases

Important Tools To Improve Your Web Development Workflow

6/180: Structural Design Patterns

Zen of the Python Programming Language

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shen Ge

Shen Ge

Hosts #Houston #spaceradio show #SG2onSpace and writes #shengecreative. Interested in #spaceflight #nasa #art #poetry #spaceflight http://fb.me/theshenshow

More from Medium

Python Set union() — A Complete Guide in 5 Minutes

Learning Python - Modules and Packages

Two types of abstractions in Python: Instance of ; Inherited from

A journey from easy to robust python code