Open rlisahuang opened 1 year ago
Web version:
Local version:
It is not a Python error, because running in REPL / by pressing the Run button shows no error.
May be related to #18 . But this one is different in a sense that you could provide extra lines at the end of the starter code file to avoid the bug.
Update: this error does not happen when no modules are used in the last line, or when the module is numpy
Easy fix for now: force every starter code file to have at least one extra line at the end
If we paste the code below into the editor, either the web version or the local version:
you will see some weird exception thrown for the last line. The exception differs between the web and the local versions.
However, if you add one new line after the last line,
the error disappears.