This question is duplicated I think, but I couldn't understand other answers...
- Original table looks like this.
NAME AGE SMOKE
John 25 None
Alice 23 None
Ken 26 None
I will update
SMOKEcolumn in these rows,But I need to use output of function which was coded in python
check_smoke(). If I input name tocheck_smoke(), then it returns"Smoke"or"Not Smoke".So final table would look like below:
NAME AGE SMOKE
John 25 Smoke
Alice 23 Not Smoke
Ken 26 Not Smoke
I'm using sqlite3 and python3. How can I do it? Thank you for help!