Tag Archives: tuple in Python

tuple in python | learn Python

tuple in python it is a type in Python.Tuple means ordered collection. example = (‘one’,’two’,’three’); print(example) the output will be one, two, three print(example[1]) output be will example[0] = 1 error tuple cannot be changed and the list can be changed. difference between tuple and lists in python: In list’s element can be changed but… Read More »