Ad
  • Custom User Avatar

    Thanks!

  • Custom User Avatar

    Thank you. Your description really clarified the question for me.

  • Custom User Avatar

    The description says:

    Furthermore the percent of loss increases by a fixed 0.5 percent at the end of every two months.

    Example of percents lost per month:

    If, for example, at the end of first month the percent of loss is 1, end of second month percent of loss is 1.5, end of third month still 1.5, end of 4th month 2 and so on ...

  • Custom User Avatar

    Thank you! Passed it once I understood that the depreciation is supposed to increase by 0.5% every other month.

  • Custom User Avatar

    Thank you for telling me. I now fixed the description.

  • Custom User Avatar

    @designerzim,

    I don't know if it's better or worse but lately I've been writing solutions like this (if the kata forces mixedCase/camelCase for Python solutions). That way my own function follows the Python naming convention and the alias allows the kata to run the tests properly.

    def count_bits(n):
        pass
    
    
    countBits = count_bits