?
What will be the output of the following Python code?
What will be the output of the following Python code?
>>> a={1,2,3}
>>> b=a.copy()
>>> b.add(4)
>>> a
>>> a={1,2,3}
>>> b=a.copy()
>>> b.add(4)
>>> a
Join the Discussion
Login to post a comment or share your explanation.
Login