Ad
  • Custom User Avatar

    I was getting the below error on attempts until I removed some print statements I was using to debug. Getting a warning from a test seems weird.
    The standard test cases don't cover many of the edge cases that are in the larger test cases which creates a situation in which you have to attempt to debug.
    I'm not sure what value is provided by random test cases large enough to create a max buffer size issue but it doesn't force the trainee to refacor code to be better but just eliminate print statements.

    /workspace/default/tests.py:26: SyntaxWarning: "is not" with a literal. Did you mean "!="?
    units += f'({s[i] * (int(s[i-1]))})' if int(s[i-1]) is not 0 else ''

    Max Buffer Size Reached (1.5 MiB)