Multiple assignment swapping is handy when implementing sorting algorithms (for teaching purposes) in #Python:
a[i], a[i - 1] = a[i - 1], a[i]
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.