This is my code below and it outputs mostly what I want, but it contains \n after each number and I do not know how to get rid of it...any help? Thanks!
def main():
scores = []
scores_file = open('scores.txt', 'r')
line_list = list(scores_file.readlines())
print(line_list)
i = 0
while i < len(line_list):
scores.append(line_list[i])
i += 1
main()