Explore, Collaborate, and Innovate with our versatile compilers and interpreters.
1 | print("Hello, world!") |
1 2 3 4 5 6 | #include <stdio.h> int main() { printf("Hello, world!\n"); return 0; } |
1 2 3 4 5 6 | #include <iostream> int main() { std::cout << "Hello, world!" << std::endl; return 0; } |
1 2 3 4 5 6 7 8 9 10 11 12 | using System; namespace MyCSharpProject { class Program { static void Main(string[] args) { Console.WriteLine("Hello, world!"); } } } |
1 2 3 4 5 | public class Main { public static void main(String[] args) { System.out.println("Hello, world!"); } } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | const http = require('http'); const hostname = '127.0.0.1'; const port = 3000; const server = http.createServer((req, res) => { res.statusCode = 200; res.setHeader('Content-Type', 'text/plain'); res.end('Hello, World!'); }); server.listen(port, hostname, () => { // console.log(`Server running at http://${hostname}:${port}/`); }); |
1 | <?php echo 'Hello, world!'; ?> |
1 |
1 2 3 | fn main() { println!("Hello, world!"); } |
1 |
1 |
1 |
1 2 3 4 5 6 7 8 9 10 | from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Hello, World!' if __name__ == '__main__': app.run(debug=True) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Django's command-line utility for administrative tasks import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_project.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" ) from exc execute_from_command_line(sys.argv) |
1 |
1 |
1 |
1 |
1 |
1 |