Sample Programs in Every Language
Published on 01 November 2018 (Updated: 17 November 2018)
Welcome to Sample Programs in Every Language, a collection of code snippets in as many languages as possible. Thanks for taking an interest in our collection which currently contains 130 articles written by 39 authors.
If you’d like to contribute to this growing collection, check out our contributing document for more information. In addition, you can explore our documentation which is organized by project and by language.
Alternatively, you can dive right into the latest articles below:
- Fizz Buzz in Kotlin on 28 October 2020 by Stuart Irwin
- Baklava in Kotlin on 22 October 2020 by Stuart Irwin
- Fibonacci in Python on 13 October 2020 by Shubhra Gupta
- Palindromic Numbers in Kotlin on 07 October 2020 by Isaac Anohene
- Maximum Subarray in Python on 06 October 2020 by Divyansh Agarwal
If you don’t find what you’re looking for, check out our list of related open-source projects.
If code isn’t your thing but you’d still like to help, there are plenty of other ways to support the project.

