For loop in Python
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
-
Featured Topics
-
Topics
-
ALBORLIN ·
Posted in Servers, NAS, and Home Lab0 -
0
-
0
-
0
-
0
-
i like xeons ·
Posted in Windows1 -
Chancla ·
Posted in Troubleshooting0 -
0
-
0
-
TOWERHANOOB ·
Posted in Peripherals0
-
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