...

/

Puzzle 3 Explanation: ASCII Encoding

Puzzle 3 Explanation: ASCII Encoding

Understand how the counting process today is different from history.

We'll cover the following...

Try it yourself

Try executing the code below to see the result for yourself.

Press + to interact
package main
import (
"fmt"
)
func main() {
city := "Kraków"
fmt.Println(len(city))
}

Explanation

If we count the number of characters in “Kraków,” we’ll count six. However, they are considered seven characters. Why?? The reason is … history.

In the beginning, computers were invented by English-speaking countries: the UK and the US. Initially, ...