package main import ( "fmt" _ "fmt" _ "github.com/go-resty/resty/v2" ) func main() { chengfabiao() } func chengfabiao() { for i := 1; i <= 9; i++ { for j := 1; j <= i; j++ { s := fmt.Sprintf("%d*%d=%d ", j, i, i*j) fmt.Printf(s) } println() } }
本文来自博客园,作者:狂躁的键盘,转载请注明原文链接:https://www.cnblogs.com/wangweiip/p/17118613.html