Question: Using eval command on a list of values

when I eval an expression at one x value it works but why does eval fail to work when multiple values of x are passed on to eval as a list....


eval(a,x=9) will result in 81.

But eval(a,x=[9,10]) does not produce   81,100 .

I was under the impression that multiple values of x can be passed on as a list. Please let me know where I am making mistake(s). Thanks in advance !!

Please Wait...