收起
n=int(input()) a=1 print(a,end=' ') for i in range(2,n+1): if i%2==0: a+=1 else: a+=2 print(a,end=' ')
报告相同问题?