How to Create Python Program to Swap Two Variables.
Feb 25, 2021
Two variables s and m, write a Python program to swap their values. Let’s see and parform different methods in Python to do this task.
Examples :-
Enter value of m : MOM
Enter value of s : DAD
The value of m after swapping :: DAD
The value of s after swapping :: MOM