Write a Python program that swaps the values of two variables without using a third variable. The program should take two integers as input and output the swapped values.
Example:
Input:
a = 5
b = 3
Output:
b = 3
a = 5
Try using arithmetic or bitwise operations to perform the swap.
a = 5
b = 3
a = a + b
b = a - b
a = a - b
print(a, b) # Outputs: 3 5
NOTEOwing to browser caching, any code input into the Trinket IDE might carry over across page refreshes or when transitioning between different questions. To commence with a clean slate, either click on the 'Reset Button' found within the IDE's Hamburger icon (☰) menu or resort to using Chrome's Incognito Mode.