'''Assignment '''
#q1
my_list = ['p','r','o','b','e']
#fetch e and p
print(my_list[-1])
print(my_list[-5])



#q2
my_list = ['p','r','o','g','r','a','m','i','z']
print(my_list[2:5])
print(my_list[0:4])
print(my_list[5: ])
print(my_list)
