Binary Deployment (Python) - Help Please

Trying the binary deployment level - this is my code:

The function doesn’t seem to be picking up the argument 17 from line 27 - i.e. decimal is coming up as None
Any idea why?

You have decimal = decimal - place_value at line 21, I believe it is causing this known bug.
That is, the problem is a bug in how CodeCombat interprets Python.

1 Like

Ah, ok that makes sense. Thanks - I’ll adapt accordingly!

[removed double post, reply in the original thread]