Light Mode
Dark Mode
Feedback from user DiZ
Solution I used is considered as correct by this task's author:

from unicodedata import normalize
checkio = lambda a,b: normalize('NFC',a) == normalize('NFC',b)


With the same code, last test case is always evaluated True (incorrect answer) in Python 3.3 whereas it is evaluated to False (correct answer) in Python 2.7.

URL from: http://www.checkio.org/mission/string-equivalence/solve/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
  • feedback
Created: May 23, 2014, 12:46 p.m.
Updated: May 23, 2014, 11:10 p.m.
0
34
User avatar
DiZ