Question
Rewrite the above script, but this time to swap the values of variables without using the third variable.
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.
[Filename: ch4/ch-4_Q10]
For example:If the list PLACES contains [''DELHI'', ''LONDON'', ''PARIS'', ''NEW YORK'', ''DUBAI'']The following should get displayedLONDONNEW YORK