I have created a file Alpha.txt with these numbers inside

```
1.2, 4.3, 7,0
3, 5, 8.2,9
4, 3, 8,5.6
8, 4, 3,7.4

```

everytime i try to strip the /n created when making these into lists, i return this error. 

```
AttributeError: 'list' object has no attribute 'strip'

```

I am aware this question has been asked before, but for some reason i cannot get my code to work with all the solutions already online. Sorry for the repeat.

here is my code

```
def main():
    my_list = [line.split(',') for line in open("Alpha.txt")]
    print(my_list)
    for element in my_list:
        element = element.strip()
    print(element)

main()

```

removing the `for element in my_list` and down, I get this output:

```
[['1.2', ' 4.3', ' 7', '0\n'], ['3', ' 5', ' 8.2', '9\n'], 
['4', ' 3', ' 8', '5.6\n'], ['8', ' 4', ' 3', '7.4\n']]

```

which is great, minus the \n part....