It raises TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'