def fill_queue(queue_fill, any_list):
 for elem in any_list:
  queue_fill.put(elem)

def fill_queue ( queue_fill , any_list ) : for elem in any_list : queue_fill . put ( elem )
takes element from a list and populates a queue with those elements .