+ 1

# Python intermediate

In Collection types - Tuple Unpacking: - There is the following question: What is the value of y after this code runs? x, y = [1, 2] x, y = y, x I think in the above question they should have x, y = (1, 2) instead of x, y = [1, 2] since the section is talking about tuple unpacking.

1 Answer

+ 1

True, works the same exact way though

Hot today

Please help me with HTML

1 Votes

What is the mistake here?

3 Votes

Unable to overload +

2 Votes

Hey! [SOLVED]

0 Votes

Pls rectify the errors.

1 Votes

Python list half printed

0 Votes