0
I am given a problem where I have to open a text file and then make it a list. This is the text file:
Monaco, 1.98, 36371
Vatican City, 0.44, 900
Firstly I will open it:
def function():
text =('text.txt','r')
text.read().<this is where I want to filter away all the spac...