{"id":"str-conversion-digit-extraction-idiom","text":"The `int(d) for d in str(n)` idiom is the standard digit-decomposition pattern across this repo, used instead of modular arithmetic (`% 10`, `// 10`), with the advantage of preserving left-to-right digit order without reversal.","truth_value":"IN","source":"entries/2026/06/06/separate-the-digits-in-an-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["digit-operations-handle-all-nonneg-inputs","string-over-arithmetic-for-digit-ops"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"str-conversion-digit-extraction-idiom","truth_value":"IN","reason":"premise"}]}}