Share
Unpacking tuples
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Predict the output of the code:
teams = (“MI”, “CSK”, “RCB”)
(blue, yellow, red) = teams
print(blue)
print(yellow)
print(red)
Answer ( 1 )
The output will be:
MI
CSK
RCB