# swap the values of a and b python code example Example: code to swap in python a=5 b=10 a,b=b,a #swapped