Puzzle 3: Explanation
We’ll go over the reason behind the answer in the length of the Kraków string.
Let’s try it
Try executing the code below to verify the results:
Python 3.8
city = 'Kraków'print(len(city))
Code explanation
If we count the number of characters in Kraków
, it’ll come out to six. So, why is the correct answer 7
? The reason—history!
Modern computers were first developed in English-speaking countries like the UK and the US. When early developers wanted to encode text in ...