I already know how to get a text file into python but...I now want to turn that file into a list
.
My file:
1
2
3
My code:
file = open("File.txt", "r")
file = list(file)
Is there a way to actually make it into something that works? And if you find an answer please make it simple.