for i := 1; i < 101; i++ {
for j := 1; j <= i; j++ {
st := "A"
fmt.Print(st)
}
fmt.Println("", i)
//fmt.Println("这里是i的次数:", i)
}
![image.png](https://static.golangjob.cn/221201/538d67153d37eaf08a1d9c04d43ad370.png)
![image.png](https://static.golangjob.cn/221201/5d5adff3420b97fb26cc8375832a9245.png)