What is going on?


Hi. I do not understand why line 243 does not raise an error, because line 242 gives an error. Therefore, the variable “new” shouldn’t have a value. So, why is line 243 still able to print?



line 242 refers to the eval function

in your code, why would you do: eval(x_str)?

evaluating a string as code will give an error.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.