How a ‘tuple’ is different from ‘list’?
Tuple is immutable type while list mutable type. This means that values in a tuple cannot be modified.
#creating tuple
tuple=()
#passing value
tuple=(1,"a")
print(tuple)
Kumar Amit Answered question February 6, 2023