Introduction
In this blog, I am going to explain, how to create and use Tuple in Python. It will be used to display the creation of Tuple in the Run Module.
Software requirement
Python 3.5.2h
Simple program
- print('welcome To C#corner............')
- print('Tuples :')
- a=("C#","Corner","by a","Tuples")
- print("%s %s %s %s" %("C#","Corner","by a","Tuple"))
Explanation
In this blog, I will explain about the creation of Tuple. Tuple is used to give the variable name in the correct format. In the code, I have created Tuple and it will be displayed below the tuple. Let us see the output, given below:
Output