Although the original author most likely moved on, I decided that I would leave here an answer to the future Googler (for example, I ^ _ ^).
I think the following error is happening here ...
ValueError: parameters are of unsupported type
... actually comes from the next line (contrary to what the author said).
s = c.execute("select score from score where id=?", id)
, Cursor.execute ( ), , list, tuple dict . id , :
s = c.execute("select score from score where id=?", (id,))
( ? ). dict :key , :
s = c.execute("select score from score where id=:id", {"id": id})