def addrecords(): import pymysql d1 = pymysql.connect(host="localhost", user="root", passwd="@mit123", database="school") c1 = d1