Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to for loop for amount in list python

s = "string"
random_list = list(s) #random_list = ['s','t','r','i','n','g']
list_length = len(random_list) #list_length = amount of characters (6)
for number in range(0,list_length):
	print("something")
 
PREVIOUS NEXT
Tagged: #loop #amount #list #python
ADD COMMENT
Topic
Name
8+3 =