To write a python program for swapping of two values
PC Anaconda - Python 3.7
Get the two values from the user
Assign the value of second variable to a temporary variable
Assign the value of the first variable to the second variable.
Assign the value in temporary variable to the first variable
Print both the values it would be interchanged
End the program
#Program to swap two values.
#Developed by: Kulasekarapandian
#RegisterNumber: 22001410
a,b=int(input()),int(input())
temp=b
b=a
a=temp
print("Swapped values are:",a,b)
Thus the swapping of two values are successfully executed