Tuplein Python
a=(1,2,3,4)
print(a[-3])
Coder Cat
a=(1,2,3,4)
print(a[-3])
name_of_students = ("Jim" , "yeasin" , "Arafat")
print(name_of_students.index('Arafat'))
tupel python
strs = ['ccc', 'aaaa', 'd', 'bb'] print sorted(strs, key=len) ## ['d', 'bb', 'ccc', 'aaaa']
#the list will be sorted by the length of each argument