MENU
Question -

Write a program to swap two numbers.



Answer -

a = 5
b = 9
def swap(c,d):
return d,c
swap(a,b)

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×