# Python program to demonstrate
# swapping of two variables

x = 10
y = 50

# Swapping of two variables
# Using third variable
temp = x
x = y
y = temp

print("Value of x:", x)
print("Value of y:", y)

5cd4a535ec26d14f5be56f153ff47116f9f6fa6c
<mask token>

<mask token>
print('Value of x:', x)
print('Value of y:', y)

x = 10
y = 50
temp = x
x = y
y = temp
print('Value of x:', x)
print('Value of y:', y)

# Python program to demonstrate
# swapping of two variables

x = 10
y = 50

# Swapping of two variables
# Using third variable
temp = x
x = y
y = temp

print("Value of x:", x)
print("Value of y:", y)
