o3-2025-04-16· OpenAI
LMArena Human Preference 140K
why a golang script that prints the first 10 numbers of pi
- User
why a golang script that prints the first 10 numbers of pi
- Assistant
Below is a tiny, self-contained Go program that prints the first 10 digits of π (3 141 592 653).
After the code you’ll find a short explanation of “why” someone might write something this simple in Go.// pi10.go package main import "fmt" func main() { // First 10 digits of π: 3 1 4 1 5 9 2 6 5 3 piDigits := []int{3, 1, 4, 1, 5, 9, 2, 6, 5, 3} for _, d := range piDigits { fmt.Printf("%d ", d) } fmt.Println() }Run it:
go run pi10.goOutput:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.