收起
tmp = 1 for i in range(1, 101): if i % 7 == 0 or i % 10 == 7: if tmp == 1: tmp = 2 print(i, end = "") else: print("," + str(i), end = "")
报告相同问题?