Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

is there a way to skip the first loop on a for loop python

for car in cars[1:]:
    # The [1:] specifies to start at the second loop because 0 = 1 in lists.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #skip #loop #loop #python
ADD COMMENT
Topic
Name
5+8 =