compiler errors - Python interpeter that randomly changes type or varrible -


So I'm learning python for fun and I've got an error that stops me completely when I am running my code, I get the following error: typeError: / unsupported operand type (s) for: 'int' and 'type'

This error has been started by Division in this category:

  & lt; Type 'int & gt;   

I tried to force the divisor to rotate int (ii [1]) as a divisor but I get a new error:

 < Code> TypeError: 'descriptor' __trunc__ of an 'int' object requires an argument   

Any suggestion that would be greatly appreciated.

i [1] type object int , Is not an example of this type Trying to convert this type of object to an integer is to call int (int) .

Comments