Can you please explain what this warning is?
When I ran the code
f = x^2;
[f(x) for x in range(1,10)]
I got the following warning,
opt/sagemath-9.2/local/lib/python3.7/site-packages/sage/repl/ipython_kernel/__main__.py:23: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...) See http://trac.sagemath.org/5930 for details.
When I visited the given link I did not understand much. Can you please explain how can I modify the above code so that I do not get the warning.
Just read carefully the sentence in the warning :
f(x) = x^2 and it is ok
This particular deprecation has been acted on in 9.5.beta2 :
[ Snip... ]
You were warned...