Challenge
Date and time from a timestamp
Slice the date and the time of day out of an ISO timestamp like 2026-03-14T09:30:05Z, then rebuild it in the day.month.year format used in Poland and much of Europe.
Showing 1–10 of 16
Challenge
Slice the date and the time of day out of an ISO timestamp like 2026-03-14T09:30:05Z, then rebuild it in the day.month.year format used in Poland and much of Europe.
Challenge
Parse the launch and the latest telemetry timestamp with datetime.fromisoformat(), subtract them to get the mission elapsed time, then time events reported by ground stations in three different time…
Challenge
…Star Tracker A , and the time of the first reading as a timestamp. Build the same kind of file name from those: File: star-tracker-a_2026-03-14.csv Make the name lower case, with dashes instead of…
Challenge
…'C'} Start with records = [] . In the loop, build {"time": timestamp[11:19], "sensor": sensor, "value": float(value), "unit": unit} and append it. The value is a number in the record, so it prints…
Challenge
…INFO Engines nominal with an f-string, then build the timestamp from numbers with zero padding.
Challenge
A small but complete data pipeline: read the telemetry CSV, reject rows with unknown sensors or broken values and say why, flag readings outside each sensor's limits, and save a JSON summary for the…
Challenge
Point the feed parser from "Parse the whole feed" at telemetry.csv: read it with csv.DictReader, using the header row for the field names, then find the hottest temperature reading, comparing the…
Challenge
The telemetry pipeline is now split into parse_row() and check_limits(). Write assert tests for both, good rows, rejected rows and readings right at a limit, so that each of three planted bugs makes…
Challenge
Turn the launch-day mission log into answers: parse each line into a dict, count the entries per level and per hour, find the first ERROR, then rank the subsystems by how many warnings they raised.
Challenge
Extend the feed parser from "Skip blanks and comments": a faulty sensor sends ERR and float() stops the program. Skip lines that fail to convert and count them, then let one try cover short lines too…