# สลับค่าในตัวแปร


a = float(input("Input variable A : "))
b = float(input("Input variabel B : "))
# Display Original Values of 2 Variables
print("----- Befor swap process -----")
print("A -> ",a)
print("B -> ",b)

# Swaping process of 2 variables
a , b = b , a

print("----- After swap process -----")
print("A -> ",a)
print("B -> ",b)
05a3d86d253ac6e7af605433212bb022d55d6e33
<mask token>

<mask token>
print('----- Befor swap process -----')
print('A -> ', a)
print('B -> ', b)
<mask token>
print('----- After swap process -----')
print('A -> ', a)
print('B -> ', b)

a = float(input('Input variable A : '))
b = float(input('Input variabel B : '))
print('----- Befor swap process -----')
print('A -> ', a)
print('B -> ', b)
a, b = b, a
print('----- After swap process -----')
print('A -> ', a)
print('B -> ', b)

# สลับค่าในตัวแปร


a = float(input("Input variable A : "))
b = float(input("Input variabel B : "))
# Display Original Values of 2 Variables
print("----- Befor swap process -----")
print("A -> ",a)
print("B -> ",b)

# Swaping process of 2 variables
a , b = b , a

print("----- After swap process -----")
print("A -> ",a)
print("B -> ",b)