oracle7 / root /specialists /cmp1-l7 /program.py
psiloceyeben's picture
Release 10.3 (full): coverage by the store assembled (the search over learned program structures), one judge over every answer, the opening table on the first interrogative, names written another way learned; full: no organ answers over a terminal refusal; release test pre-registration v39, run once; hashes anchored on Solana (part 19)
3f7ca89 verified
Raw History Blame Contribute Delete
429 Bytes
"""Weekday of a day of 2025
Composed by composer_v2 from typed moves; read back against its examples. cycle: days of the week (ISO 8601, Monday first), index (x - 6) mod 7"""
import math
import re
def _nums(code):
return [float(x) for x in re.findall(r"\d+(?:\.\d+)?", str(code))]
def compute(x1):
seq = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
return seq[(int(x1) - 6) % 7]