Create a Tuple in Python

In python, tuple can be created with ( ) braces. The main difference between lists and tuple is tuple is immutable, meaning elements cannot be assigned or modified individually.

Example : Create of tuple in python
tup = (10, 20, 30)
tup[1]


Output
20