Python Queue Put Method In Maps