Method 1: Exchange through the third variable
Method 2: v1, v2 = v2, v1; exchange of more values is also supported