#python #tuplesinpython #tuplesinhindi #learningsquad
In this video, you will learn about the tuples, tuples are immutable which means we can not change them.
Below is the code used:
a = (1,)
print(type(a))
mytup = (1,2,'sachin',1.56,True)
print(mytup)
print(len(mytup))
print(mytup[2])
print(mytup[-3])
print(mytup[1:4])
# d = (1,1,3,3,3,'sachin','sachin')
print(d.count('sachin'))
e = (2,3,'sachin','python')
print(e.index('python'))
On this page of the site you can watch the video online #23 Tuple in Python | Python Tuples in Hindi with a duration of hours minute second in good quality, which was uploaded by the user Python Learning Squad 03 September 2021, share the link with friends and acquaintances, this video has already been watched 79 times on youtube and it was liked by 12 viewers. Enjoy your viewing!