Python Programming: Swapping two numbers using Function Get link Facebook X Pinterest Email Other Apps - May 02, 2020 def swap(a,b): a,b=b,a print("After swapping","a=",a," b=",b) a=10 b=20 print("Before swapping a=",a," and b=",b) swap(a,b) Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment