The code from inside the first loop adds a new Ball object.
Every time the second loop happens, you’re finding two numbers from a line in your file.
You want to use those two numbers to create a Ball.
The code from inside the first loop adds a new Ball object.
Every time the second loop happens, you’re finding two numbers from a line in your file.
You want to use those two numbers to create a Ball.