Supply

Okay so that is kinda new for a few of us. In case you are a seasoned programmer then this won’t be stunning for you however in case you are a brand new programmer then that is one thing you really want to know. Okay so right here we go. In regular conditions when you would wish to swap the values of two variables then this is able to be one thing you’ll go after:

a = 1
b = 2
c = a
a = b
b = c

However there’s a extra easy technique which is able to merely take three traces. Right here it’s:

a = 1
b = 2
a, b = b, a

That is absolutely a easy strategy to swap values. Do remark beneath and inform me your views about this.