Computer Science, asked by lakshinkumar8182, 11 months ago

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 vamanmadhavan10
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