• That's the holy truth!
    I don't see any compelling reason why this issue isn't resolved yet.
    In Java return types are covariant. That means changing the return type
    from ArrayList<ArrayList< Integer>> to List<List< Integer>> will not break submitted solutions.

  • It doesn't mention the name of the conversion rates table in the description (Python).
    Only found out via comments here that it is CONVERSION_RATES.

  • This comment is hidden because it contains spoiler information about the solution

  • Interesting game, but the binary to decimal conversion restriction is unwarranted for this kata. That would make for a good kyu8 kata. But mixed in this game, it's annoying, and I think most users would feel this way.

  • looks like u solved it in a long manner

  • This comment is hidden because it contains spoiler information about the solution

  • thanks for the tip~

  • If you put print(CONVERSION_RATES) statement in your code you will see conversios rates in the console

  • am i supposed to define my own CONVERSION_RATES dictionary?, i dont see any rates or anything like that in the kata description...

  • How do you tell a number from binary code? Is there some kind of formula for this?

  • Fixed.

  • Python automatic tests are incorect. Instead of reqiuring digit in amount of currency, it requried long string: number of usd repeated coefficient (exchnage rate) times.

    It should work for random inputs too.: 'You now have 9560 of Armenian Dram.' should equal 'You now have 20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020 of Armenian Dram.'
    

    Thus "You now have %d of %s." % (usd*coef,currency) does not works, and requred one with format call.

  • yes because nothing is freezable in python, so in this language, I just defined another dict for the test cases.

  • I see that in JavaScript and Ruby, but not Python. Is that intentional?

    Anyway, thanks.

  • Loading more items...