通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
假设调用下列函数,请给出其输出结果
def algo2(): x='e' y='c' q=CircularQueue() q.append("h") q.append("r") q.append(y) x=q.serve() q.append(x) x=q.serve() q.append("a") while not q.empty(): y=q.serve() print(y.end="")
hrca