I am getting a Tuple in a result set. But I am unable to change the values of it later onwards. Can any one please guide me what could be the potential reason.
I am using Python 3 and I am a newbie into the world of Python. Any help will be appreciated.
I tried to modify a modify the response
cursor.execute(query)
for row in cursor:
row['sales_amount'] = row['sales_amount']+10
print(row['sales_amount']
New contributor
Tiger Woods is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.