I am trying to solve Python challenges in pythonchallenge.com. I am in level 2. I was asked to find rare characters in a very large text which is given in the source code of the web page. Here it is:
http://www.pythonchallenge.com/pc/def/ocr.html
First of all, I don’t want any solutions for this. I just want to solve it on my own but I am not an advanced Python programmer. So can you tell me what to study to solve this? I also don’t know how to work with files very well. In some clues on forum, it is mentioned that one should use files to solve this. So can you show me what to study?
Hint 1: To open and read a file’s contents, use
Hint 2: To count characters, one option is to use a
Counter.