收起
s = [] for i in range(1, 2*5): if i <= 5 : s.append(i) else: s.pop() string = ''.join([str(j) for j in s]) print(string)
报告相同问题?