Code By Shraddha
Wednesday, May 25, 2022
Swap two variables in one line
input:
x=45
y=89
x,y=y,x
print("after swaping x values and y is-",x,y)
output:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment