scholar_no = int(input(\'Enter the Scholar Number\'))
mycursor.execute("delete from student1 WHERE Scholar_No = %s", (scholar_no)) mydb1.commit()