>>> import sqlite3
>>> con = sqlite3.connect("lotto.sqlite")
>>> csr = con.cursor()
>>> csr.execute("select seq, no1 from mylotto")
<sqlite3.Cursor object at 0x03657C20>

>>> _dict = dict([(row[0], row[1]) for row in csr])
>>> print(type(_dict))
<class 'dict'>

>>> print(_dict)
{1: 2, 2: 4, 3: 3, 4: 3, 5: 2}
>>>