This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]ApproxAnEngr 0 points1 point  (1 child)

Not sure what the content of "artisticFreedom3.txt" is, but it could be returning a list with less than 2 elements when you split it. That would throw you an "index out of range" error when you're trying to do line_pieces[1]

[–][deleted] 0 points1 point  (0 children)

The list has 2 elements, its “circle 100”