How do I exchange the values of A and B

Peter Hansen peter at engcorp.com
Mon Nov 20 23:56:27 EST 2000


Charlie Kilmer wrote:
> 
> How do I exchange the values
> int A = x;
> int B= y;
> 
> here x and y are the values
> 
> how do exchange the values so that
> int A = y;
> int B = x;

Umm, in what language?  'Cause that ain't Python...



More information about the Python-list mailing list