Discover
Communities
Decks
Login
Discover
Communities
Decks
Buy perks
Login
Signup
RE: Python Program to Swap Two Variables
superoo7
0
a few seconds ago
in
#python-dev
Won't this method to be easier?
x
=
5
y
=
10
[
x
,
y
]
=
[
y
,
x
]
print
(
x
)
print
(
y
)
H2
H3
H4
3 columns
2 columns
1 column
Reply
Join the conversation now
Join
Ecency