seed: curriculum content

This commit is contained in:
2026-05-07 14:32:44 +00:00
parent 9258534803
commit ec76f4f56b
100 changed files with 2846 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
def extract(header):
"""Extract date and time from a fixed-format packet header.
Header format (always exactly this shape):
TIMESTAMP=YYYY-MM-DDTHH:MM:SSZ
Length 30. Example:
TIMESTAMP=2026-05-04T14:32:01Z
Return a tuple (date, time) where:
date = "YYYY-MM-DD" (10 chars)
time = "HH:MM:SS" (8 chars)
extract("TIMESTAMP=2026-05-04T14:32:01Z")
-> ("2026-05-04", "14:32:01")
"""
pass