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

To view all your data do
for i in db.keys():
print(f”{str(i)}: {str(db[i])}”)