请看下列代码:
a = 3
b = 0
def change():
global a, b
b = b + a
print(b, end = ' ')
while a > 0:
change()
a = a - 1
运行后输出结果正确的是()
3 5
3 5 6
3 5 6 6
3 4 5