这是罚款支付程序。我想知道的是如何将mysql数据库中的手机号码与我要输入的手机号码进行比较 import mysql.connector
database='UAEFINESSYSTEM')
mycursor=mydb.cursor()
print(" PAYMENT INFORMATION ")
Name=input("FULLNAME:")
Modeofpayment=input("MODE OF PAYMENT:")
Cardnumber=int(input("CARD NUMBER:"))
Mobileno=input("Enter your mobileno")the mobileno i want
sql="UPDATE CUSTFINES SET FINE=0 WHERE MOBILENO='"+Mobileno+")"
mycursor.execute(sql)
print("record updated")
mydb.commit()
except Exception as e:
print(e)