a_list = [1,2,3] for index,iterm in enumerate(a_list): print(index,iterm)
dict = {"yellow":1, "red":2} for k, v in dict.items(): print(k,v)