Ideally I'd like it to be blend which is heavier on the writing and the discussion than I usually see posted.
Example of the pure programming side: Leetcode, which definitely gets the programming side down, but it's a little dry for me, and the community, while present, seems less integrated.
Kaggle's pretty close.
Unfortunately, I wouldn't say either are very "fun."
Something that hits all points - discussion of scripts or short code snippets, writing of code snippets, adaptation of other's code snippets, AND fun - would be ideal.
(Ideally) short code snippets, discussion about what it solves, reviews possibly with other alternatives, discussions about tradeoffs...