hey @varshneynishu2017 ,
i am really sorry for this , it was my fault , i understood it wrong too.
I just clarrified this and it is like this ,
While we are in any such equalizing task ( having = in between ) , we first check from right to left whether there are no other such binary operations. and if there are any such , then they will operated first and assigned into a temporary variable.
So , moving from right to left we will get it like ,
a,b = b,a+b
,
we get a+b
first , so it will assigned to a temp variable like temp=a+b
and
a,b=b,temp
and then the same happens ,
a=b
b=temp
In this way the whole instruction works in three steps as
temp = a+b
a=b
b=temp
In this way you will get the exact results as you want them to be.