Blog

What is the output of the code below?

x = 1000
while(x>500):
x-=3 print(x)