This is the program for fine payments. what i would like to know is how do i compare the mobile number in mysql database with the mobile number i want to input 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)