Puzzle 3: Explanation
We’ll go over the reason behind the answer in the length of the Kraków string.
We'll cover the following...
Let’s try it
Try executing the code below to verify the results:
Press + to interact
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 ...