()
` or the `tuple()
` constructor. Here are examples of both :# Create a tuple using parenthesis
my_tuple = (1, 2, 3, 4, 5)
print(my_tuple)
(1, 2, 3, 4, 5)
# Create a tuple using the tuple() constructor
my_tuple = tuple([1, 2, 3, 4, 5])
print(my_tuple)
(1, 2, 3, 4, 5)
`1`, `2`, `3`, `4`,
and `5`
. Tuples are immutable, which means that once they are created, their elements cannot be modified.