Not a plea for help since I imagine using the word bank allows the text to be accepted. And no, I’m not trying to get it to fail by using 二 instead of ニ. I’m pretty sure the exercise is bugged.

  • baltakateiOP
    link
    fedilink
    English
    11 year ago

    I didn’t copy and save Duolingo’s correct answer, but here’s what I would have typed via fcitx5 put through your python:

    0x306f, HIRAGANA LETTER HA
    0x3044, HIRAGANA LETTER I
    0x3001, IDEOGRAPHIC COMMA
    0x30b3, KATAKANA LETTER KO
    0x30f3, KATAKANA LETTER N
    0x30d3, KATAKANA LETTER BI
    0x30cb, KATAKANA LETTER NI
    0x3067, HIRAGANA LETTER DE
    0x3059, HIRAGANA LETTER SU
    0x3002, IDEOGRAPHIC FULL STOP
    

    from

    #!/usr/bin/env python3
    import unicodedata
    a = 'はい、コンビニです。'
    print('\n'.join(f'{hex(ord(c))}, {unicodedata.name(c)}' for c in a))
    
    • @[email protected]
      link
      fedilink
      English
      11 year ago

      Your input via Fcitx5 is correct without any doubt, so I believe it’s a duolingo’s fault.