- 1

Function

write a python programming using with function names swap() that takes in two integers and swaps their values. example if you input A = 5 and B = 20, the program should output A = 20 and B = 5

10th Aug 2018, 10:20 AM
Hamzat Hamzat
3 odpowiedzi
+ 1
First show your try. We don't do your homework but help you when you show where you are stuck.
10th Aug 2018, 11:41 AM
Matthias
Matthias - avatar
0
just make a function that overides the prexisting variables.
10th Aug 2018, 10:52 AM
Sean Cedano
Sean Cedano - avatar
0
Huh
10th Aug 2018, 10:57 AM
Hamzat Hamzat