Can someone please give me the code I am missing in this function?
It seems like its just taking the numbers as a whole string instead of the individual characters.
The text file I created contains "12,10,9,7,11,9,9,11,9,12,
,8,8" in the text file.
I feel like I'm missing one line of code, and I don't know that it is. I'm trying to get a list of floats, each individual items.
file=raw_input("Enter text file name: ")
infile = open(file, "r")
num = infile.readlines()
for item in num: