Creating And Using Tuple In Python


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
  1. print('welcome To C#corner............')  
  2. print('Tuples :')  
  3. a=("C#","Corner","by a","Tuples")  
  4. print("%s %s %s %s" %("C#","Corner","by a","Tuple"))   

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: