Do you know what is programming chrestomathy?
Often we look for codes with same logic written in different languages to learn the syntax faster. One pseduo code written in different languages is called programming chrestomathy. One of the most popular website for programming chrestomathy is Rosettacode.
Beside this site, you can easily find code with same logic in different languages in Codeforces also. There are few more competitive programming site too where you may find same code in different languages like — Atcoder, Codechef etc.
If you know more websites where we may find same code written in different languages please share in the comment section.