Ad
  • Default User Avatar

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

  • Custom User Avatar

    It's a smart way to use the attributes defined in __init__ as functions (that's what the kata requires, which is not very pertinent since they'd rather be considered merely as properties entirely defined at the creation of the instance; it does not make much sense to have to calculate them again at each function call).