ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 05 Sep 2019 08:40:42 +0200no lambda Varhttps://ask.sagemath.org/question/47755/no-lambda-var/HI
just a remark
it is a pity to have removed the possible use of the Greek letter lambda for variable name because lambda is a reserved name. I would have preferred the lambda function named lambdaf .
Wed, 04 Sep 2019 10:32:43 +0200https://ask.sagemath.org/question/47755/no-lambda-var/Answer by tmonteil for <p>HI
just a remark</p>
<p>it is a pity to have removed the possible use of the Greek letter lambda for variable name because lambda is a reserved name. I would have preferred the lambda function named lambdaf .</p>
https://ask.sagemath.org/question/47755/no-lambda-var/?answer=47756#post-id-47756This is a Python reserved keyword, not a Sage decision, so we can not do much about that. Perhaps could you use `Lambda` instead ? If you use Sage compiled with Python 3, you can also use `λ` as a variable name.Wed, 04 Sep 2019 11:10:41 +0200https://ask.sagemath.org/question/47755/no-lambda-var/?answer=47756#post-id-47756Comment by Emmanuel Charpentier for <p>This is a Python reserved keyword, not a Sage decision, so we can not do much about that. Perhaps could you use <code>Lambda</code> instead ? If you use Sage compiled with Python 3, you can also use <code>λ</code> as a variable name.</p>
https://ask.sagemath.org/question/47755/no-lambda-var/?comment=47768#post-id-47768You can also use `lambda_` as a variable name, whose latex expression will be indistinguishable from $\lambda$.Thu, 05 Sep 2019 08:40:42 +0200https://ask.sagemath.org/question/47755/no-lambda-var/?comment=47768#post-id-47768