Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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. warning.

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 warningwarning,

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.

Can you please explain what this warning is?

When I ran the code

f = x^2;

x^2;

[f(x) for x in range(1,10)]

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.