We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330f10b commit 8d18864Copy full SHA for 8d18864
basics/swap.py
@@ -0,0 +1,6 @@
1
+#A basic swap programming program made in python with just few lines of code
2
+a=int(input("ENTER NUMBER 1: "))
3
+b=int(input("ENTER NUMBER 2: "))
4
+a,b=b,a
5
+print("NUMNBER 1 :",a)
6
+print("NUMBER 2 :",b)
0 commit comments