题解 | 小飞机
小飞机
https://www.nowcoder.com/practice/5cd9598f28f74521805d2069ce4a108a
package main import ( "fmt" ) func main() { var count = 1 for { if count>=3 && count<=4{ fmt.Println("************") }else if count>6{ break }else if count<3{ fmt.Println(" ** ") }else { fmt.Println(" * * ") } count++ } }