1 full form for
For cannot have parentheses like Java C ා
For I: = 0; I < 10; I + + {braces must be put here again
2. Omit the pre and post statements
for sum < 1000 {
The complete omission of for is equivalent to an endless loop
The following code loops until the sum value exceeds the maximum int value
Go language development and communicationQQ group 857263711
Keep improving
I hope everyone can find their favorite way to live and work.