Hetelephonedtoinformmeofyourbirthday,orI_________aboutit.
A.would knew nothing
B.would have known nothing
C.would know something
D.would have known something
A.would knew nothing
B.would have known nothing
C.would know something
D.would have known something
A、offending
B、offish
C、offensive
D、offspring
class StudentDB: def openDB(self): self.con=sqlite3.connect("students.db") self.cursor=self.con.cursor() def closeDB(self): self.con.commit() self.con.close() def initTable(self): res={} try: self.cursor.execute("create table students (No varchar(16) primary key,Name varchar(16), Sex varchar(8), Age int)") res["msg"]="OK" except Exception as err: res["msg"]=str(err) return res def insertRow(self,No,Name,Sex,Age): res={} try: ___________________________________________ res["msg"]="OK" except Exception as err: res["msg"]=str(err) return res 程序插入一条学生记录,缺失的语句是
A、self.cursor.execute("insert into students (No,Name,Sex,Age) values (%s,%s,%s,%s)",(No,Name,Sex,Age))
B、self.cursor.execute("insert into students (No,Name,Sex,Age) values (%s,%s,%s,%d)",(No,Name,Sex,Age))
C、self.cursor.execute("insert into students (No,Name,Sex,Age) values (@No,@Name,@Sex,@Age)",(No,Name,Sex,Age))
D、self.cursor.execute("insert into students (No,Name,Sex,Age) values (?,?,?,?)",(No,Name,Sex,Age))
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!