If the insert statement is
sql = "INSERT INTO user(name,age) VALUES ('张三',21)"
Note that the color of name and age in pycharm are obviously different, and an error will be reported after running
pymysql TypeError: not enough arguments for format string
It means that the data volume of the parameter and the data is not right. It is clear that the first 2 and the next 2
Explore a long time to know the name of the key, so the color does not have to use the time with the logo `` This is a button on the Tab key instead of single quotation marks can be tricky