Results for “end”

Showing 51–56 of 56

  1. Challenge

    Retry the uplink

    …each attempt, stop at the first "ok" , then say how it ended: Attempt 1: timeout Attempt 2: no carrier Attempt 3: ok Uplink sent on attempt 3 When all three fail, the last line is Uplink failed after…

    Write the code Medium 2 stages for loop range break retry
  2. Challenge

    Sign-up cleanup

    …name.split() splits on any run of spaces and drops the ends, so " ".join(...) rebuilds it neatly; title() capitalises each word. Reject and deduplicate Build the crew list. Reject a sign-up with no…

    Write the code Medium 2 stages project strings strip split
  3. Challenge

    Shift rota

    …an hour every Sunday, and twice this month somebody ended up working a night shift straight after an afternoon. Let the program build the rota, and check its own work. In turn Build rota , a list of…

    Write the code Hard 2 stages project scheduling lists tuples
  4. Challenge

    Mission elapsed time

    …since launch. Counting days and hours by hand across month ends goes wrong eventually, and the ground stations don't even agree on a time zone. Let the datetime module do the counting. Subtract two…

    Write the code Medium 2 stages datetime timedelta ISO 8601 time zones
  5. Challenge

    First error

    …a message that only mentions the word doesn't count. break ends the loop. How far it looked Show how much of the log the search needed: count the lines it checked and print the total after the loop…

    Write the code Easy 2 stages for loop break enumerate flags
  6. Challenge

    One orbit short

    …flight log should have a line for each one. The log always ends one orbit early, and the last orbit, the one that matters for the landing, is never in it. Predict the last line, find out where range()…

    Fix the code Easy 3 stages for loop range off-by-one step