Are you using python2.7? If so that is the correct result because python 2.7 won't return a float from the division of 2 integers. So you get 2/3 = 0 and 6/4=1 then 0*1=0
In python 3 you get: In [15]: (2/3)*(6/4) Out[15]: 1.0 You should use python 3 if you are learning. On Thursday, February 13, 2020 at 8:54:01 AM UTC-7, Argan Corvisy wrote: > > Hi everybody, > > I'm Argan, french student. > > I had problem with Spyder on windows, as a consequence I started to use it > on Ubuntu 18.04.4 LTS. > > But, now, I have problems with exactly the same programs I created on > windows spyder. Especially calculation priority : > > For example : > > [image: Screenshot from 2020-02-12 14-52-07.png] > > > Does anybody have an idea ? Is it maybe package or an installation problem > ? > > > Nota : > > [image: Screenshot from 2020-02-12 15-06-35.png] > > > Best regards > > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/957da0c9-0caf-451a-93a9-ba624af499cd%40googlegroups.com.
