With number = 6, the while condition is satisfied. Then number is decremented by 3, meaning we replace the value of number (6) with its current value minus 3 6 - 3 = 3.
Then with number = 6, we still have number > 0, so we decrement again and end up with number = 0.
With number = 0, number > 0 is no longer true, so we exit the loop.
Then the print statement simply prints the current value of number, which is 0.