I’d say Project Euler is not generally the best way to learn programming languages, since it has a heavy focus on number-theory and in many languages the core reason to learn that language is to apply it towards a particular domain with very different demands (server-side web development, scientific computing, etc).
As far as syntax, most languages have “Koans” now that take you through syntax and standard data structures much more conveniently than a manual.
I’d say Project Euler is not generally the best way to learn programming languages, since it has a heavy focus on number-theory and in many languages the core reason to learn that language is to apply it towards a particular domain with very different demands (server-side web development, scientific computing, etc).
As far as syntax, most languages have “Koans” now that take you through syntax and standard data structures much more conveniently than a manual.