For loop in Python
By
Yoo Song Won
in Programming
in Programming
Go to solution
Solved by Slottr,
It means for every item in cmds it will perform that print statement
So for example, heres another for loop:
x = [a,b,c,d]
for i in x:
print(i)
#output#
a
b
c
d
-
Topics
-
Issac Zachary ·
Posted in Troubleshooting2 -
4
-
PopsicleHustler ·
Posted in Audio4 -
4
-
4
-
Greasy_Pudding ·
Posted in Servers, NAS, and Home Lab2 -
Sveeno ·
Posted in LTT Releases8 -
4
-
thrasher_565 ·
Posted in Hot Deals0 -
6
-
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now