Files
llgo/cl/_testpy/list/in.go

14 lines
302 B
Go
Raw Normal View History

package main
import (
"github.com/goplus/lib/py"
2025-07-29 20:55:56 +08:00
"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"))
2025-07-29 20:55:56 +08:00
y := py.List(std.Abs, std.Print, math.Pi)
std.Print(x, y)
}