>>> num = 2
>>> sum = 0
>>> while True:
if num >= 1000:
break
sum = sum + num
num = num + 2
print(sum)
num = 2
sum = 0
while True: