I have been stuck on this python challenge http://www.pythonchallenge.com/pc/def/ocr.html . I am familiar with python re module and regex but I don't seem to get what the challenge wants me to do. If there's anyone else that has been there, I'll need some help

Recommended Answers

Hint.

>>> import re
>>> data = '''(*^+*]$]+@+*_##)&)^(@$^]e@][#&)('''
>>> re.findall(r'[a-z]', data)
['e']
Jump to Post

All 4 Replies

I think you must decode the crypted text contained in the html source page.

Hint.

>>> import re
>>> data = '''(*^+*]$]+@+*_##)&)^(@$^]e@][#&)('''
>>> re.findall(r'[a-z]', data)
['e']

Thanks! This is awesome!!!

snippsat I just posted another question on the next challenge. You'll see what I tried there. Please can you give a close hint like this for that too

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.