PythonChallenge. Find rare characters in the mess below : <p>I'm trying to learn programming via <a href="http://www.pythonchallenge.com" rel="nofollow noreferrer">PythonChallenge</a> (I have no background in programming at all) and now I'm stuck on this <a href="http://www.pythonchallenge.com/pc/def/ocr.html" rel="nofollow noreferrer">challenge</a>, which requires me to find rare characters in the mess. The mess is in the source code of that page, which I've put in the file 'py.txt'.</p>

<p>I've tried this code below and it prints just this: <code>[('t', 2), ('e', 1), ('x', 1)]</code>, but the most interesting part is that isn't the right answer i think.</p>

<pre><code>from collections import Counter

with open('C:/py.txt', 'r') as f:
    text = f.read()

c = Counter("text")
print(c.most_common())
</code></pre>

<p>When you look at the source code on the page and search for some characters (let's say 'a') <a href="https://i.stack.imgur.com/RralQ.png" rel="nofollow noreferrer">image here</a> it shows you that 'a' is in the list but it doesn't appear in the code output.</p>

<p>Please, help, I need to find all of those 'rare' characters. Thanks!</p>

<p>Oh, and also, I want to ask you how to learn Python from scratch. Maybe you have some good books to recommend or some online-resources (it would be better if it had some practical-homework stuff like doing small projects which don't require much math). Thanks a lot.</p>
