Use list slices:
for i in balls[1:]:
print(i)
More Related Contents:
- Why doesn’t this python code run infinite times? [closed]
- One line recursive loop in python
- Is it possible to implement a Python for range loop without an iterator variable?
- Python: How to keep repeating a program until a specific input is obtained? [duplicate]
- How do I loop through a list by twos? [duplicate]
- Pythonic way to combine for-loop and if-statement
- Are infinite for loops possible in Python? [duplicate]
- Why does a for-loop with pop-method (or del statement) not iterate over all list elements [duplicate]
- Converting for loops to while loops in python
- Python nested looping Idiom
- Understanding for loops in Python
- Using a loop to create and assign multiple variables (Python) [duplicate]
- How to increment variable names/Is this a bad idea [duplicate]
- Is it possible to make a `for` loop without an iterator variable? (How can I make make code loop a set number of times?)
- How can I make sense of the `else` clause of Python loops?
- for or while loop to do something n times [duplicate]
- Modifying a list while iterating when programming with python [duplicate]
- Skip over a value in the range function in python
- Strange result when removing item from a list while iterating over it in Python
- How on earth does this code work
- What is the most “pythonic” way to iterate over a list in chunks?
- What is the most efficient way to loop through dataframes with pandas?
- How does a Python for loop with iterable work?
- How to frame two for loops in list comprehension python
- tkinter loop and serial write
- Creating a list of dictionaries with same keys? [duplicate]
- interleaving 2 lists of unequal lengths [duplicate]
- What is the meaning of list[:] in this code? [duplicate]
- int object is not iterable while trying to sum the digits of a number? [duplicate]
- Redo for loop iteration in Python