{"id":"python-modulo-floor-semantics","text":"The `net %= len(s)` normalization relies on Python's floor-modulo semantics where `(-2) % 5 == 3` — this would produce different results in C/Java, which use truncated division.","truth_value":"IN","source":"entries/2026/06/06/perform-string-shifts-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"python-modulo-floor-semantics","truth_value":"IN","reason":"premise"}]}}