Mubashir quer trocar dois números fornecidos.
A função não está retornando os valores corretos. Você pode ajudá-lo a corrigi-la?
a = 100
b = 200
a, b = swap(a, b)
print(a, b) // Should print out "200, 100", but the function prints out "100, 100"swap(100, 200) ➞ [200, 100]
swap(44, 33) ➞ [33, 44]
swap(21, 12) ➞ [12, 21]N/A