War game/pythonchallenge
pythonchallenge level2
badcob
2009. 8. 17. 20:34
level 2 : http://www.pythonchallenge.com/pc/def/ocr.html
--------------------------------------------------------------------------
Hint :
recognize the characters. maybe they are in the book,
but MAYBE they are in the page source.
--------------------------------------------------------------------------
웹페이지의 소스를 보니 특수문자들로 보이는 엄청 긴 문자열이 있고
<!--
find rare characters in the mess below:
-->
라는 주석을 볼 수 있다.
특수 문자들 사이에 있는 알파릭 문자들을 뽑아내 보았다.
str = """%%$@_$^__#)^.....""" answer = ''i=0 while 1: if ord(str[i]) > 96 and ord(str[i]) < 123: answer += str[i] i+=1 if i == len(str): break print answer
숨어있는 문자들은 equality
http://www.pythonchallenge.com/pc/def/equality.html