Result Size:
625 x 571
demo_set_loop.py:
thisset = {"apple", "banana", "cherry"} for x in thisset: print(x)
x
thisset
=
{
"apple"
,
"banana"
,
"cherry"
}
for
x
in
thisset
:
print
(
x
)
C:\Users\My Name>python demo_set_loop.py
apple
banana
cherry