+ 7
In this code, Why line no. 4 is valid in python???
3 Respuestas
+ 8
It is not decrementing the value of "a" at all.
It is just reversing the sign of "a" twice and then assigning that value to "b"
You can assume it to be like this:-
b = -(-a)
Which is same as b = a
+ 5
Thanks! Arsenic and Avinash Kumar
+ 3
@Arsenic is saying correctly