go for range时间:2023-03-08 20:57:07 func main() { var str = "hellow worda" for _, val := range str { fmt.Printf("%q", val) // %q 以单引号格式打印字符 } }