Answer:
Here's the Python code that takes in two words from user input, swaps their values, and prints them:
a = input("Enter a word: ")
b = input("Enter a word: ")
# Swap the values in a and b
a, b = b, a
print("a:", a)
print("b:", b)
------------------------
Sample output:
Enter a word: apple
Enter a word: zebra
a: zebra
b: apple
Step-by-step explanation: