https://researchdatapod.com/how-to-solve-python-typeerror-int-argument-must-be-a-string-a-bytes-like-object-or-a-number-not-list/
How to Solve Python TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'