Python For Loop.

Published: 29 February 2024
on channel: Life on Linux
26
0

A short video walking through the #python #forloop

Here is the code from the video:

for x in range( 1,10):
print(x)
for y in (1,2,3,4,"A","B","C"):
print(y)

print(x)

somelist = ["a","b","c"]

for someitem in somelist:
print( someitem )


for x in somelist:
for y in (1,2,3):
print(x,y)

for item in ["a","b","c"]:print(item)
for x in somelist:
for y in (1,2,3):
print(x,y)


On this page of the site you can watch the video online Python For Loop. with a duration of hours minute second in good quality, which was uploaded by the user Life on Linux 29 February 2024, share the link with friends and acquaintances, this video has already been watched 26 times on youtube and it was liked by 0 viewers. Enjoy your viewing!