https://researchdatapod.com/how-to-solve-python-typeerror-float-argument-must-be-a-string-or-a-number-not-list/
How to Solve Python TypeError: float() argument must be a string or a number, not ‘list’