Code Execution Service Test

Test 1: Python (Auto-detect)

print("Hello from Python!")
for i in range(3):
    print(f"Count: {i}")

Test 2: JavaScript (Specified)

console.log("Hello from JavaScript!");
const arr = [1, 2, 3];
arr.forEach(n => console.log(`Number: ${n}`));

Test 3: Ruby

puts "Hello from Ruby!"
3.times do |i|
  puts "Iteration #{i}"
end

Test 4: Go

package main
import "fmt"
func main() {
    fmt.Println("Hello from Go!")
}

Test 5: C++

#include <iostream>
using namespace std;
int main() {
    cout << "Hello from C++!" << endl;
    return 0;
}