Program a robot through puzzles using real C++ or Python. Your loops, ifs, and variables make it move, turn, and grab crystals. Get it wrong and your robot shows you exactly where it went wrong, and that's how you learn. Write some code, press Run, and watch.
{ } don't count.collect().Every line you write moves the robot. A loop isn't an abstract idea here. It's your robot walking five steps because you told it to five times, or once in a for.
Off-by-one? Your robot stops one short of the crystal. Walked into a wall? It bonks and tells you the line. Debugging stops being scary when you can watch it happen.
You can always copy-paste. But fewer lines earns more stars, so you'll want to reach for a loop or an if. That's the whole game of real programming.