How to store a users input into a database?

So, I want to store a users input, into a database, but I really don't know how to.
Could anyone please help me with it?

You are viewing a single comment. View All

what is flask?
i mean just like test = input('anything')