×
FREE ASSISTANCE FOR THE INQUISITIVE PEOPLE
Tutorial Topics
X
softetechnologies
Python Examples - If else Programs CBSE Sum of Digits, Reverse A Numbers, Check Palindrome Number Or Not
Swap Numbers - Python CBSE - Python Language
1274    Arnab De    12/09/2020

Write a program in Python to swap two given numbers.

Swap numbers is very easy in python.

softetechnologies
	i=int(input("Enter First number :"))
	j=int(input("Enter Second number :"))
	print("i=",i," and j=",j)
	i,j=j,i
	print("i=",i," and j=",j)
softetechnologies
Python Examples - If else Programs CBSE Sum of Digits, Reverse A Numbers, Check Palindrome Number Or Not
softetechnologies
Author Details
Arnab De
I have over 16 years of experience working as an IT professional, ranging from teaching at my own institute to being a computer faculty at different leading institute across Kolkata. I also work as a web developer and designer, having worked for renowned companies and brand. Through tutorialathome, I wish to share my years of knowledge with the readers.
Enter New Comment
Comment History
No Comment Found Yet.
Leo Tolstoy
However diffcult life may seem, there is always something you can do, and succeed at. It matters that you don not just give up.
Leo Tolstoy
870
64.31
Today So Far
Total View (Lakh)
softetechnologies
26/05/2018     47403
25/06/2018     39491
01/01/2018     39105
28/06/2017     36999
02/08/2017     35724
01/08/2017     29961
06/07/2017     29748
15/05/2017     29229
14/07/2017     25118
11/09/2018     24261
softetechnologies