This is the same scenario except your kid thinks he can more reasonably trick you into shouldering responsibility.
I wouldn't even sweat "learning to code" as a concept for his enrichment because A) he won't be able to meaningfully do so at his age and B) there's literally a zero percent chance "coding" survives AI.
Such a strange thing that people forgot how to parent.