Project Euler (http://projecteuler.net/) is great for this kind of thing.
The problems start simple, which is perfect for the "learn the syntax" / "learn the tools" phase.
Then the problems get harder, which is perfect for the "learn the advanced features" / "learn about the community" phase.