python
a = "Sun"
b = "Moon"
c = a
a = b
b = c
print(a + " and " + b)
Step-by-step breakdown:
1. `a = "Sun"` → variable `a` now holds `"Sun"`.
2. `b = "Moon"` → variable `b` now holds `"Moon"`.
3. `c = a` → variable `c` is assigned the value of `a`, which is `"Sun"`.
4. `a = b` → variable `a` is now assigned the value of `b`, which is `"Moon"`.
5. `b = c` → variable `b` is now assigned the value of `c`, which is `"Sun"`.
Final values:
-a = "Moon"
-b = "Sun"`
So, the `print(a + " and " + b)` will output:
Moon and Sun
✅ Correct answer: A. Moon and Sun
