Python Tutorial
Python Basics
Python I/O
Python Operators
Python Conditions & Controls
Python Functions
Python Strings
Python Modules
Python Lists
Python OOPs
Python Arrays
Python Dictionary
Python Sets
Python Tuples
Python Exception Handling
Python NumPy
Python Pandas
Python File Handling
Python WebSocket
Python GUI Programming
Python Image Processing
Python Miscellaneous
Python Practice
Python Programs
Home » Python » Python Programs
In Python programming language – Tuples are used to store multiple items in a single variable, it is a collection that is ordered and unchangeable. A tuple is similar to a list, but the only difference between is that we cannot change the elements of a tuple whereas we can change the elements of a list.
A tuple is created by placing all elements inside parentheses () and separated by commas. The parentheses are optional, however, it is a good practice to use them.
This section contains the solved Python programs on tuples, practice these programs to learn the concept of Python tuples. These programs contain the solved code, explanation, and output used in the Python tuple programs.
Comments and Discussions!
Load comments ↻