Dear TA ,
what is eval function? can you help with this
The eval() function evaluates the specified expression, if the expression is a legal Python statement, it will be executed.
a function which evaluates a string as though it were an expression in the language, and returns a result.
Syntax
eval(expression, globals, locals)
1 Like