Results for “operators”

Showing 11–20 of 29

  1. Challenge

    Config loader

    …downlink module reads its settings from a JSON file that operators edit by hand. Last week someone typed "256" in quotes, misspelt a key and set twelve retries, and the module started with the wrong…

    Write the code Hard 3 stages project json configuration validation
  2. Challenge

    Airlock permissions

    …trust. Each action needs a set of permissions, from basic operator training to the commander's approval for opening the outer hatch, and the airlock's control panel checks them before it does…

    Write the code Medium 2 stages sets subset difference permissions
  3. Challenge

    Decimal comma

    An operator types 42,5 and float() crashes with a ValueError. Predict it, find out why, accept both commas and dots with replace(), then read pressures written like 1 013,25.

    Fix the code Easy 3 stages strings replace float ValueError
  4. Challenge

    Redact the access code

    …in its place: AUTH ok station=Esrange code=**********77AB operator=2 line.find(" ", start) searches for a space starting at index start , so it finds the space after the code, not the first one in the…

    Write the code Medium 2 stages strings slicing len replace
  5. Challenge

    Undo and history

    The cargo console works: operators add and remove crates and check the hold. What it can't do is answer "what happened?" or take back a slip of the finger, and last week a crate was removed by mistake…

    Write the code Hard 2 stages project lists stack append