8. Multiple assignmentΒΆ
To swap variables, the following sequence does not work!
Activity: CodeLens 8.2 (cl_l40_8a_en)
One solution would be to use a
temp
variable.
Activity: CodeLens 8.3 (cl_l40_8b_en)
Multiple assignment can also be used, which is more elegant.
Activity: CodeLens 8.4 (cl_l40_8c_en)
You have attempted of activities on this page