countdown(n) that returns a list counting down from n to 1, followed by the string "Liftoff!" as the final element, built using a while loop.countdown(3)
[3, 2, 1, "Liftoff!"]
Counts down then appends the liftoff message.
countdown(1)
[1, "Liftoff!"]
Immediately reaches 1 then liftoff.
Use a `while n > 0:` loop, appending n then decrementing.
Append "Liftoff!" once the loop finishes.