Result Size:
625 x 571
demo_ref_set_pop2.py:
fruits = {"apple", "banana", "cherry"} x = fruits.pop() print(x)
x
fruits
=
{
"apple"
,
"banana"
,
"cherry"
}
x
=
fruits
.
pop
()
print
(
x
)
C:\Users\My Name>python demo_set_pop2.py
apple