August 2021
Beginner
112 pages
1h 23m
English
| Puzzle 3 | When in Kraków |
| | package main |
| | |
| | import ( |
| | "fmt" |
| | ) |
| | |
| | func main() { |
| | city := "Kraków" |
| | fmt.Println(len(city)) |
| | } |
Guess the Output | |
|---|---|
|
|
Try to guess what the output is before moving to the next page. |
This code will print: 7
If you count the number of characters in Kraków, it’ll come out to six. So why 7? The reason is ... history.
In the beginning, computers were developed in English-speaking countries: the UK and the US. ...
Read now
Unlock full access