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))
basic grow invest ideally called now that wasteful accumulated where direct Money management can actually be broken down into a very simple practice that even a fourth grader can do in his young life. The ___1___ step to being on your wealth path is knowing how much you really do need in your life and how you can ___2___ the rest. If you are already working, arrange with your company to ___3___ a predetermined amount of your payroll into a forced savings fund and then you will learn to live with the rest. ___4___, the amount that is left for you to work with is smaller, and this particular practice is actually ___5___ “learning to pay yourself first” — despite bills and other payables, you will come first. The beauty of this money management practice to get you on the wealth path is that you will be forced to cut your ___6___ spending. You will learn to live with what you have and figure out the little avenues in your life ___7___ you can stop the financial leaks. With this, you will find that you have extra money to invest with. ___8___ you have a sizeable amount, the next thing that you can do is to figure out where to put the extras that have ___9___ over time so you can generate money and make it ___10___ with very little effort from you. There are many things you can find to put your money in. 请把你的答案按照顺序写在下面!答案之间用分号隔开。 ___________________________________________________________________________
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!