+ 2
Write a programm in python to read 3 numbers in 3 variables and swap the first two numbers with sum of 1st and 2nd &2nd and 3rd
3 Respuestas
+ 2
Sushmita And this is a your homework/assignement.
You have to do some work then you can ask for help on YOUR code
+ 2
I agree with krow I believe it is crucial as a developer to find solutions especially to logical problems on your own. It will help you in the long run if you enhance that ability.
+ 1
I'm not good with Python, but this may work:
a,b,c=int(input()),int(input()),int(input())
print(a,b,c)
a,b=(a+b),(b+c)
print(a,b,c)
Hth, cmiiw