Datatype- Tuple
Tuple is a collection of objects separated by commas. A tuple is similar to a list. The only difference is that tuple is immutable.
1.del tuple- Used to delete a tuple
2.len (tuple)- Used to find the length
3. list1 = [0,1,2]
print(tuple(list1)
In this way we can convert a list to a tuple.
These are the things i know with tuples, if the there any else please let me know. Thank you edyoda for this opportunity.