Result Size:
625 x 571
demo_list_loop.py:
thislist = ["apple", "banana", "cherry"] for x in thislist: print(x)
x
thislist
=
[
"apple"
,
"banana"
,
"cherry"
]
for
x
in
thislist
:
print
(
x
)
C:\Users\My Name>python demo_list_loop.py
apple
banana
cherry