Tuple in Python | Python Tuples(Creating,Indexing&Slicing)Complete Explanation | Python Programming

Pubblicato il: 20 August 2021
sul canale di: SB Tech Tuts
18,014
400

Tuple:
Tuples are used to store multiple items in a single variable.
A Tuple is a collection which is ordered, unchangeable(immutable) and allow duplicate values.
Tuples are written with round brackets (parenthesis).
Create a Tuple:
Ex: t=(10,20,”robo”,40)
Create Tuple with One item:
To create a tuple with only one item, you have to add a comma after the item, otherwise python will not recognize it as a tuple.
Ex:
t=(“robo”,)
print(type(t))

Subscribe my channel : www.youtube/SBTechTuts

#Tuple
#PythonTuples
#Python
#SBTechTuts
Tuple in Python | Python Tuples(Creating,Indexing&Slicing)Complete Explanation | Python Programming
tuple
tuples
python programming
python
python coding
python tutorial
learn python
python tuples
python tuple
python language
typle with example
how to create tuple in python
in telugu
sudhakar bogam
sb tech tuts


In questa pagina del sito puoi guardare il video online Tuple in Python | Python Tuples(Creating,Indexing&Slicing)Complete Explanation | Python Programming della durata di ore minuti seconda in buona qualità , che l'utente ha caricato SB Tech Tuts 20 August 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 18,014 volte e gli è piaciuto 400 spettatori. Buona visione!