Write short note on tuple assignment.
Question :
Write short note on tuple assignment.
An assignment to all the elements in a tuple is done using a single assignment statement. Tuple assignment occurs in parallel rather than in sequence, making it useful for swapping values.