Ad
  • Custom User Avatar

    Still getting 'hambrgers' in one of the test cases. (python)

  • Custom User Avatar

    The final test always fails despite being techinically correct (I double check). For example:

    Wrong result for recipe {'butter': 1, 'oil': 47, 'cream': 100} and available ingredients {'butter': 9927, 'oil': 4982, 'flour': 4553, 'eggs': 157, 'nuts': 4981, 'pears': 3945, 'chocolate': 2187, 'cocoa': 183, 'crumbles': 7687, 'apples': 9120, 'sugar': 8717, 'milk': 2341, 'cream': 4570}: 45 should equal 1

    Since there is more than 1 unit available for each of the recipe items {'butter':9927,'oil':4982,'cream':4570}, the answer can't be 1