Python Tuples
# the tuples are like the Read-Only they are not to be changed or modified they're constant
letters = "a", "b", "c", "d" # you can use () as they are optional
print(letters)
"""
tuples are immutable but it's important because they don't returns the bugs
these are sequence types means you can iterate over them by it's index numbers
tuples data can't be changed but list's data can be changed
"""
# A tuple is a collection which is ordered and unchangeable.
# In Python tuples are written with round brackets.
thistuple = ("apple", "banana", "cherry")
print (thistuple)
> ('apple', 'banana', 'cherry')
# Access an element
print(thistuple[1])
'banana'
# Once a tuple is created, you cannot change its values.