运行以下函数,正确的打印是?( )
def function(a):
s = 0
while(a<0):
if(a%2 == 0):
s += a*(a-1)
else:
s += a+(a-1)
a = a-1
return s
print(function(6))
21
36
59
46