# searching easy

Is Anyone Late?

The rocket launches on time no matter what β€” mission control just needs to know if anyone missed it. πŸš€

You get a list of arrival times in minutes after the doors opened; more than 10 means that astronaut was late. Print someone missed it if anyone was late, otherwise all aboard.

Example:

Input: minutes = [3, 8, 12, 5] Output: someone missed it

12 is more than 10 minutes late, so the "anyone late" flag flips to True β€” print someone missed it.

Input: minutes = [1, 2, 9] Output: all aboard

Every arrival is 10 or under, so the flag never flips β€” print all aboard.

πŸ’‘ need a hint?

srch-anyone-late.pyπŸ”’ given lines are locked β€” write your code in between
loading...