For this Question: Given two elements A and B, your task is to swap the given two elements.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>Swap(int A, int B)</b>.Print one line which contains the output of swapped elements.Sample Input:-
5 7

Sample Output:-
7 5

Sample Input:-
3 6

Sample Output:-
6 3, I have written this Solution Code: # Python program to swap two variables

li= list(map(int,input().strip().split()))
x=li[0]
y=li[1]

# create a temporary variable and swap the values
temp = x
x = y
y = temp

print(x,end=" ")
print(y,end="")
, In this Programming Language: Python, Now tell me if this Code is compilable or not?