What is going on?


#1

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?

Thanks.


#2

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.


#3

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