Sail E0 Webinar
Question
What is the output of the following code?a,b=6,7 a,b=b,a a,b
Options:
A .  (6,7)
B .  Invalid syntax
C .  (7,6)
D .  Nothing is printed
Answer: Option C


The above piece of code illustrates the unpacking of variables.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers