运行下列Python程序,输出的结果是?( )
x=0;y=0;a=2023 for i in range(a): if ((i%2)==0): x=x-1 else: y=y+1 print(x+y)
1
-1
0
2023