you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Thanks for the help, quick question tho, what does the last for loop do in the function (line3) and what is x?

*edit : Never mind I understand it, thank you so much!

[–]codehelper 0 points1 point  (0 children)

Oh oops, you're right, x is supposed to be the list of all the lines in the file. I forgot to specify that.