Tmp_cost different output than expected output for cost function after forward prop

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your
    entire notebook)

Hello for NLP Specialisation, Course 2 Week 4 Assignment

For exercise forward prop I cleared the test (please see the below)

However while running the cost function (which is not a grader cell),
my tmp_cost output differs from the expected output (please see below image-highlighted)

Can I know what is the issue causing this difference.

Regards
DP

Okay I have come to know the cost values can vary depending on the below statement found in the assignment

“Your numbers may differ a bit depending on which version of Python you’re using”

Regards
DP