Public examples
Short programs to try. They open in the editor; sign in to run them or save a copy. Versioned, tested algorithms in every language ›
- Hello, Python Python 3.12
- FizzBuzz Python 3.12
- Reading input Python 3.12
- Multiple files Python 3.12
- Debugging an error Python 3.12
- Hello, JavaScript Node.js 22
- JavaScript modules and input Node.js 22
- Hello, Java Java 25
- Java classes and input Java 25
- Hello, C C (GCC 14)
- C files, headers and input C (GCC 14)
- Hello, C++ C++ (GCC 14)
- C++ classes and input C++ (GCC 14)
- Hello, PHP PHP 8.4
- PHP files and input PHP 8.4
- Hello, TypeScript TypeScript 7
- TypeScript modules, types and input TypeScript 7
- SQL playground SQLite 3
- Hello, Go Go 1.27
- Go files and input Go 1.27
- Hello, Rust Rust 1.87
- Rust modules and input Rust 1.87
- Hello, Ruby Ruby 4.0
- Hello, Perl Perl 5.40
- Hello, Bash Bash 5.2
- Hello, R R 4.5