#Enumerate in python l1 = ['alu','noodles','vada-pav','bhindi'] for index, item in enumerate(l1): if index %2 == 0: print(f'jarvin get {item}')