Challenge
Config loader
…the module started with the wrong settings without a word. Write the loader that fills in what is missing, checks what is there, and lists every problem before anything starts. Defaults first Load…
Showing 51–60 of 79
Challenge
…the module started with the wrong settings without a word. Write the loader that fills in what is missing, checks what is there, and lists every problem before anything starts. Defaults first Load…
Challenge
…an empty line, the saved line, and the file as it was written: Saved report.csv: subsystem,status,alerts,uptime_pct POWER,OK,3,99.8 GNC,WARN,2,97.25 PROP,OK,0,100.0 COMMS,DEGRADED,2,94.6…
Challenge
…it, then print it the way maps and mission documents write coordinates. Unpack the pair Unpack the tuple into two variables, lat and lon , in one line, then print both with four decimal places…
Challenge
…of day out of it, then show them the way the ground team writes dates. Date and time Slice the date and the time of day out of the timestamp and print them: Date: 2026-03-14 Time: 09:30:05 The date is…
Challenge
Every mission has one: the script written the night before launch that everybody still runs and nobody dares to touch. This one prints the daily engine report. It repeats the same twelve lines for…
Challenge
…5, timeout: 5.0 s) ABORT (retries: 3, timeout: 1.0 s) Write the defaults in the def line: def send_command(cmd, retries=3, timeout=5.0): . The calls stay as they are. A new option Abort commands need…
Challenge
…then the format has been copied into every program that writes to the log, and each copy has drifted a little. Put the format in one function that returns the line, then see what happens when the…
Challenge
…Kestrel-7 2026-12-01 Tern-5 2027-01-18 Polaris Cargo 4 Write launch_date(launch) , which returns launch["date"] , and pass it to sorted(launches, key=launch_date) , without brackets after its name…
Challenge
…longitude, then make the scheduler cope with longitudes written the other common way. Three bands Each station covers a band of longitudes. Pick the one the spacecraft is over and print it: from 60 to…
Challenge
Every system on Python One writes to the mission log, one line per event. Engineers search those logs, tools filter them by level, and alarms go off when an ERROR line appears. That only works if…