Are you trying to practice basic coding and logic skills?
Project Euler, as many have said, or similar sites.
Are you trying to learn a specific technology?
Then go through a tutorial. Notice anything stupid/wrong/incomplete/ambiguous about that tutorial? If not, please share this unique example of completely flawless information transfer between humans. Otherwise... rewrite it yourself, in your words. Think about other directions the tutorial could have taken. Tinker and experiment.
Are you learning programming to accomplish a specific task?
In that case, you already have your answer. Write what you can. Learn to write the other parts. The code will grow as you grow.
Think about programming like carpentry. If you want to do a carpentry project, you can choose:
1) An design that emphasizes core skills, but isn't particularly useful, although it isn't *useless*. In carpentry, that would be a puzzle box, or a birdhouse, or some other small bauble. The goal was to perfect tool usage, not produce something useful. That's like Project Euler stuff.
2) A design that emphasizes one particular tool, but because of that isn't particularly practical either, and almost completely useless. You know, some complicated, ornate thing that's only meant to really show off a scroll saw, or using a lathe to make a complicated-looking curtain rod. That's like the tutorial option.
3) You build a simple table... even if it's just four 2x4s screwed to a piece of plywood and doesn't even bear loads well. You work up from there... you learn about cross bracing and railing. The screws are ugly, so you learn about countersinking and hole plugs. You might even have to start from scratch, but that's OK... you'll redo everything twice as fast the second time. Then maybe you route the edges of the table when you learn to use a router so you have a nice beveled edge. Then maybe you buy a lathe, and turn the legs of the table into something more fancy... and then you add scrollworked cross-braces... That's a real world project.
All three of these will help you become a better carpenter/programmer, but you will never become a master carpenter/programmer until you do option 3.