Write a program to delete a entry from database table.

import MySQLdb

db = MySQLdb.connect(‘localhost’, ‘pardeep’ , ‘pardeep321’ , ‘temp’)
curs = db.cursor()
print ‘You really want to delete something.ok ok…write the name’
a = raw_input()

print ‘The data will be delete…press y to continuee…’
b = raw_input()
if (b==’y’):
sql = “delete from employee where First_name = ‘%s'” % (a)
curs.execute(sql)

db.commit()

else:
print ‘Thanks’