1 package main 2 3 import "fmt" 4 5 func main() { 6 var num int = 10 7 var num2 int = 20 8 for num < num2 { 9 fmt.Println(num) 10 break 11 } 12 13 }
posted on 2022-11-03 11:11 默玖 阅读(16) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 默玖 Powered by .NET 8.0 on Kubernetes