Make coding a more social/group activity... social problem solved.
Have kids run during PE. Health problems solved!