RosettaCodeData/Task/Count-in-octal/Go/count-in-octal-4.go
2025-02-27 18:35:13 -05:00

15 lines
218 B
Go

package main
import (
"math/big"
"fmt"
)
func main() {
defer func() {
recover()
}()
one := big.NewInt(1)
for i := big.NewInt(0); ; i.Add(i, one) {
fmt.Printf("%o\n", i)
}
}