code: def destr(d,*l):
      '''destructure a dict (like take, but return a list)'''
      if type(l[0]) is not str:
          l=l[0];
      return [d[i] for i in l]f destr(d,*l):
      '''destructure a dict (like take, but return a list)'''
      if type(l[0]) is not str:
          l=l[0];
      return [d[i] for i in l];
docs: destructure a dict (like take, but return a list)