Jan-21-2020, 12:10 PM
Hello folks,
A quick question about the following lines:
x=3*(x**3+2)+1
or interpret as follows:
x=3*x**3+2+1
As these would produce different results ...
A quick question about the following lines:
x=x**3+2 x=3*x+1If I were to write this as an equivalent single calculation, does python interpret the first value of x into the second parenthesised:
x=3*(x**3+2)+1
or interpret as follows:
x=3*x**3+2+1
As these would produce different results ...