How do I exchange the values of A and B

Peter Hansen peter at engcorp.com
Tue Nov 21 05:56:27 CET 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