Results for “end”

Showing 1–10 of 56

  1. Challenge

    Progress on one line

    …Uploading flight plan... done, by changing how print() ends. A Python challenge on print(end=...) for progress messages.

    Write the code Easy 3 stages print end progress console
  2. Challenge

    Never-ending wait

    …signal but never moves on to the next reading, so it never ends. Predict it, find the stuck counter, fix it, then write a wait that gives up when the readings run out.

    Fix the code Easy 3 stages while loop infinite loop counter and
  3. Challenge

    Accept the right files

    Check whether a path starts with telemetry/ and ends with .csv using startswith() and endswith(), see why in isn't enough, then clean up paths with Windows backslashes, capitals and spaces first.

    Write the code Easy 2 stages strings startswith endswith paths
  4. Challenge

    Upload router

    …or rejected by its extension with an if/elif chain and endswith(), then cope with capitals, spaces and more extensions without changing the name that is shown.

    Write the code Easy 2 stages if elif else or
  5. Challenge

    Ground pass planner

    …, from every station, into windows , as (start, end, station, minutes) with the times parsed by datetime.fromisoformat() . Sort them by start time and print: Contact windows over 8 minutes…

    Write the code Medium 2 stages project datetime timedelta sorting
  6. Challenge

    Log to a file

    …then add an append_entry() function that adds lines at the end without wiping what is there.

    Write the code Easy 2 stages files open with write
  7. Challenge

    Read the error

    …confirmed by ground control 11:00 Science block begins End of log Pasted from a chat The next day, the flight engineer pasted one line into the log straight from a chat message, and the script won't…

    Fix the code Easy 3 stages SyntaxError IndentationError error messages debugging