/Tuples

Practice of Tuples in Python.

Primary LanguageJupyter Notebook

Tuples

Practice of Tuples in Python. It contains all the function that could be done with the help of tuple. There are basically only 2 main main functions of a tuple and that are counting and indexing. if i have defined a tuple as t1 and I use t1.count(45) then it search entire tuple and find how many times 45 is present. If I use t1.index(45) then it will give the index value of 45 like where exact 45 is present in tuple. Other this some basic functions are also present .