# sorting easy

The Countdown Check

Rocket launches need a proper countdown β€” every number lower than (or equal to) the one before. πŸš€

You get the control room's list of nums. Print liftoff if it never goes UP, otherwise abort.

Example:

Input: nums = [10, 9, 8, 8, 3] Output: liftoff

It never goes up (10β‰₯9β‰₯8β‰₯8β‰₯3) β€” print liftoff.

πŸ’‘ need a hint?

sort-countdown-check.pyπŸ”’ given lines are locked β€” write your code in between
loading...