ShriRam Changed status to publish August 18, 2023
tup1 = (‘physics’, ‘chemistry’, 1997, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print (“tup1[0]: “, tup1[0])
print (“tup2[1:5]: “, tup2[0:7])
print (“tup2[2:]: “, tup2[2:])
print (“tup2[:2]: “, tup2[:2])
ShriRam Changed status to publish August 18, 2023