import queueq = queue.Queue()放入数据:q.put('test')拿出数据:q.get()
图解#include#include#include#define N 100#define mytype