In high school, I taught myself C++ for competitive programming and learned Java and Android development in class. I learned Ruby on Rails during an internship, and picked up Django next.
I wrote a lot of Python in college, with some C, C++, and Java on the side. I also begrudgingly used C# for Unity game development. I picked up OCaml during my 2018 internship, and have heavily used it since.