单项选择题

执行完以下语句段后,sum和i的值分别为()。
um=0,i=1
while i< =5:
sum+=i
i=i+1

A.sum=15,i=4
B.sum=15,i=5
C.sum=15,i=6
D.sum=15,i=1