# Python Brain Teasers: Teaser 3 wrong answer

**URL:** <https://forum.devtalk.com/t/python-brain-teasers-teaser-3-wrong-answer/1279>\
**Category:** PragProg Customers\
**Tags:** book-python-brain-teasers, errata\
**Created:** [7 August 2020 15:56 UTC](https://forum.devtalk.com/t/python-brain-teasers-teaser-3-wrong-answer/1279 "2020-08-07T15:56:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JacobTomaw](https://forum.devtalk.com/user_avatar/forum.devtalk.com/jacobtomaw/32/957_2.png) [@JacobTomaw](https://forum.devtalk.com/u/JacobTomaw)\
**Post date:** [10 August 2020 14:50 UTC](https://forum.devtalk.com/t/python-brain-teasers-teaser-3-wrong-answer/1279/3 "2020-08-10T14:50:15Z")

</div>

I did not doubt that you have tested the code.  
Your file definitely has different chars in it. Below the file `/tmp/krakow` has your string on the first line and mine that I typed on my Mac. Yours is [o](https://unicode-table.com/en/006F/) + [Combining Acute Accent](https://unicode-table.com/en/0301/) and mine is [Latin Small Letter O with Acute](https://unicode-table.com/en/00F3/). If I needed to I am sure I could figure out how to type combining acute accent, but when working through the book and seeing a char i can type with two keystrokes on my mac (option + e, o) I am going to do that. It might be valuable to note this in the book in someway.

```bash
❯ more /tmp/krakow
Kraków
Kraków

❯ xxd -b -c9 /tmp/krakow
00000000: 01001011 01110010 01100001 01101011 01101111 11001100 10000001 01110111 00001010 Krako..w.
00000009: 01001011 01110010 01100001 01101011 11000011 10110011 01110111 00001010 Krak..w.

❯ xxd -c9 /tmp/krakow
00000000: 4b72 616b 6fcc 8177 0a Krako..w.
00000009: 4b72 616b c3b3 770a Krak..w.

```

---

_[View the full topic](https://forum.devtalk.com/t/python-brain-teasers-teaser-3-wrong-answer/1279)._
