# a=1,2,3,4,1,'hi',(5,6,4)
# print(a)
# print(type(a))

#immutable
#keep order
#support duplicate elements
#heterogenous
#nesting possible
# for i in a:
#     print(i)
# tupl=1,2,3,4,5,6,7,8,9
# print('min value:',min(tupl))
# print('max value:',max(tupl))
# print('length:',len(tupl))
# print(tupl[0])#.....................indexing possible........................
# print(tupl[-1])
# print(tupl[4:-1])#...................slicing possible...............................
# a=2,#.............................tuple with one element............................
# print(a)
# print(type(a))
my_tuple='a','p','p','l','e'
print(my_tuple.count('p'))
print(my_tuple.index('p'))