Puzzle 17 Explanation: String Conversion
Understand how to perform string conversions in Go.
We'll cover the following...
We'll cover the following...
Try it yourself
Try running the code below to see the result for yourself.
Press + to interact
Go (1.16.5)
package mainimport ("fmt")func main() {i := 169s := string(i)fmt.Println(s)}
Explanation
The string
type supports ...