Float must be a string or a number?
money is a file object, not the content of the file. To get the content, you have to read the file. If the entire file contains just that one number, then read() is all you need. Otherwise you might want to use readline() to read a single line or even try the csv module for … Read more