#23 Tuple in Python | Python Tuples in Hindi

Published: 03 September 2021
on channel: Python Learning Squad
79
12

#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'))


Watch video #23 Tuple in Python | Python Tuples in Hindi online without registration, duration hours minute second in high quality. This video was added by user Python Learning Squad 03 September 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 79 once and liked it 12 people.