Files
llgo/cl/_testpy/list/in.go
2025-07-30 12:12:19 +08:00

15 lines
337 B
Go

package main
import (
"github.com/goplus/lib/py"
"github.com/goplus/lib/py/math"
"github.com/goplus/lib/py/std"
)
func main() {
x := py.List(true, false, 1, float32(2.1), 3.1, uint(4), 1+2i, complex64(3+4i),
"hello", []byte("world"), [...]byte{1, 2, 3}, [...]byte{})
y := py.List(std.Abs, std.Print, math.Pi)
std.Print(x, y)
}