Python Tuple
A tuple is a sequence of immutable Python objects.
Tuple is a also a collection of heterogeneous objects where insertion order is preserved and duplicates are allowed.
Tuple also stores the elements on the basis of index only.
When to use a Tuple.
Duplicates and insertion order preserved.
Not editable.
Ways to create a Tuple.
ts = ( ) #Blank Tuple
ts = tuple( ) #Blank Tuple
شركة تنظيف بالقصيم
ReplyDeleteThe concept you are saying is good. I was so happy after reading this article. Thank you so much for the good article.
ReplyDeletemethod overloading in python example
top python libraries
find substring in string python
linear regression python code
java interview questions and answers for freshers
overloading and overriding in python