PFP191Xuất hiện trong 1 đề thi
Assume $x$ and $y$ are assigned as follows: $x = 5$ $y = -5$ What is the effect of this statement? ```python x, y = (y, x)[::-1] ```
Các lựa chọn
AThe values of $x$ and $y$ are unchanged
BBoth $x$ and $y$ are $-5$
CBoth $x$ and $y$ are $5$
DThe values of $x$ and $y$ are swapped