Write a program to read three numbers in three variables and swap first two variables with the sums of first and second,second and third numbers respectively by using python
Answers
Answered by
1
Answer:
a=int(input("enter a number :"))
b=int(input("enter a number :"))
c=int(input("enter a number :"))
a,b=a+b+b+c
print(a,b)
Similar questions