Consider the two python snippets given below:
Snippet - 1:
a, b = b, a
Snippet -2
x = input().split()
a, b = map(int, x)
Which python feature is being used in the two given snippets?
1
Mutability
2
Unpacking
3
Slicing
4
None of the above
Consider the two python snippets given below:
Snippet - 1:
a, b = b, a
Snippet -2
x = input().split()
a, b = map(int, x)
Which python feature is being used in the two given snippets?