The document contains a Python notebook that demonstrates swapping the values of two strings, 'first string' and 'second string'. After the swap, it prints the new values of both strings, showing 'second string' for v1 and 'first string' for v2. Additionally, there are links and a comment related to CS Dojo at the end of the notebook.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
8 views2 pages
Swapping Two Variables
The document contains a Python notebook that demonstrates swapping the values of two strings, 'first string' and 'second string'. After the swap, it prints the new values of both strings, showing 'second string' for v1 and 'first string' for v2. Additionally, there are links and a comment related to CS Dojo at the end of the notebook.