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

5 Reasons DevOps Should Integrate Apache Airflow & Great Expectations

Trying to access array offset on value of type null

This is not a call against working out. I love working out, and spend a few

How I learned to stop worrying and love TDD

Laravel authorization and roles permission management

MongoDB Quick Reference

Salesforce

AWS is the leading name in cloud computing solutions, and so the demand for AWS technicians is…

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