?
What will be the output of the following Python code?
What will be the output of the following Python code?
>>> a={1,2,3}
>>> {x*2 for x in a|{4,5}}
>>> a={1,2,3}
>>> {x*2 for x in a|{4,5}}
Join the Discussion
Login to post a comment or share your explanation.
Login