llpyg: print doc

This commit is contained in:
xushiwei
2024-05-13 21:01:39 +08:00
parent dd52f71069
commit d3f75a92ad
5 changed files with 57 additions and 0 deletions

10
_pydemo/pi/pi.go Normal file
View File

@@ -0,0 +1,10 @@
package main
import (
"github.com/goplus/llgo/c"
"github.com/goplus/llgo/py/math"
)
func main() {
c.Printf(c.Str("pi = %f\n"), math.Pi)
}