So, I'm not sure how to go about this. I've installed and imported MySQL Connector.
fit=sql.connect(host='localhost',user='root',passwd='xez23%',database='fitnesscentre')
uID= int(input('Enter user ID: '))
pwd= input('Enter password: ')
wgt1=int(input('Enter your weight: '))
bmi= float(input('Enter BMI: '))
actlevel= int(input('Enter activity level in minutes: '))
upd= input('Update? Y/N')
if upd=='Y':
d=fit.cursor()
rec1='UPDATE userstats SET weight=%s, BMI=%s, activitylevel=%s WHERE ID=%d; '
What do I do next? This is the table userstats: userstats