diff --git a/Swap_two_variables.py b/Swap_two_variables.py new file mode 100644 index 0000000..053d42d --- /dev/null +++ b/Swap_two_variables.py @@ -0,0 +1,4 @@ +# one line code to swap the values of two variables +# sample input : a = 4 b = 5 +# sample output: a = 5 b = 4 +a,b = b,a