Python Program to swap the two variables using a third variable Posted by Shrinidhi Katti Get link Facebook X Pinterest Email Other Apps var1=int(input("Enter the first number")) var2=int(input("Enter the second number")) var3=var1 var1=var2 var2=var3 print("After swapping:",var1,var2) Comments
Comments
Post a Comment