Challenge
Backup that isn't
…to the crew, the planner made a backup of the roster and experimented on the backup. When the experiment was over, the live roster had changed as well, and Tanaka had quietly disappeared from it…
Showing 191–200 of 233
Challenge
…to the crew, the planner made a backup of the roster and experimented on the backup. When the experiment was over, the live roster had changed as well, and Tanaka had quietly disappeared from it…
Challenge
…the Moon. One leg comes from a contractor's planning tool, and the total doesn't look right. Predict what the code prints, find the leg that doesn't fit, fix the sum, then convert a lander's sensor…
Challenge
…passes are long enough for a full data dump, in order, and where the silent stretches are. Build the planner. One timeline Collect every pass longer than MIN_MINUTES , from every station, into windows…
Challenge
…status: green for Go, amber for Hold, red for Scrub. Go and Hold look right. Scrubbed launches show no colour at all, and nobody noticed until a launch was scrubbed on live television. Predict what…
Challenge
…station's logistics tool asks how many people are on board and works out the crew after the next docking. Whatever number you type, it crashes. Predict what happens, find out why input() is behind it…
Challenge
…event once Print each event once, keeping the first copy, and count the copies you dropped: EV-1001 Hatch closed EV-1002 Cabin pressure nominal EV-1003 Abort system armed EV-1004 Switched to internal…
Challenge
…much each kind of cargo weighs, because food, life support and spares go into different racks with different mass limits. Total the manifest by category, then rank the categories by mass. A total per…
Example
…a value from function. Function can perform calculations and give result.
Example
Combining regular parameters, *args and **kwargs in one function.
Example
Addition, subtraction, multiplication and division in Python. Basic arithmetic operations.