Python Program to Swap Two Numbers
To swap two numbers we will use another temporary variable to store the value of first number.
#Python program to calculate area of a triangle
a= input("Enter first number: ")
b= input("Enter second number: ")
print("Swapping of the numbers are", a, b)
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.