1
0
mirror of https://github.com/MADTeacher/go_basics.git synced 2025-11-23 21:34:47 +02:00
Files
go_basics/part_1/1.11/3.go

17 lines
155 B
Go
Raw Normal View History

package main
import (
"fmt"
"strconv"
)
func main() {
str := ""
i := 0
for i <= 5 {
str += strconv.Itoa(i)
i++
}
fmt.Println(str) // 012345
}