On 09/02/2020 18:52, Barış Bulut wrote:
x,y = symbols('x,y')
y = x**3
y.subs(x,5)
125
x = 5
y.subs(x,x)
x**3
y.subs(x,10)
x**3
y.subs(x,3)
x**3
x = 3
y.subs(x,125)
x**125
y.subs(x,10)
x**10
Hi Barış,
It isn't a bug!
Unfortunately as soon as you execute x=5 you destroy the symbol in x,
x,y = symbols('x,y')
y = x**3
y.subs(x,5)
125
x = 5
y.subs(x,x)
x**3
y.subs(x,10)
x**3
y.subs(x,3)
x**3
x = 3
y.subs(x,125)
x**125
y.subs(x,10)
x**10
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving
Hi Ruchir,
Thanks for showing interest in the Code generation and
parsing modules. To get started with contributing you can take a look at
the issue tracker(https://github.com/sympy/sympy/issues), and find the
issues you're interested in helping with. That will help you get
I looked at some languages and their compilers. Julia, Octave and R
compilers all provide ASTs for their syntax and APIs to access and
manipulate their AST. As for python implementations, Julia provides
pyjulia, still looking for other language's interfaces. I am also looking
at other
Hi *sympy community, *my name is Jaswinder Kantiwal. I'm a third year
undergraduate in B.tech in computer science. I have been involved in sympy
for more than 2 months now and enjoying it very much. I like this project
as its one of a kind and its ease of use. I want to be a part of this