1
curs.execute("Select ISBN,Rate From High_Scores")
rows2 = curs.fetchall()
for row in rows2:
Book=row["ISBN"]
Rate=row["Rate"]
我想创建一个嵌套列表我可以做这个?curs.fetchall()嵌套列表中的Python
curs.execute("Select ISBN,Rate From High_Scores")
rows2 = curs.fetchall()
for row in rows2:
Book=row["ISBN"]
Rate=row["Rate"]
我想创建一个嵌套列表我可以做这个?curs.fetchall()嵌套列表中的Python
您是否尝试过使用Python'拉链()'函数? – matejm