TypeError: unsupported operand type(s) for /: ‘tuple’ and ‘tuple’
I’m getting above error , while I fetched a record using query “select max(rowid) from table”
and assigned it to variable and while performing / operation is throws above message.
How to resolve this.
Sql query
select max(rowid)would return Tuple data likerecords=(1000,)You may need to do like
numerator / records[0]