I'm creating a bot in python through the python-telegram-bot library, and it works through commands. I know that through cursor.execute () I can create a table via python, but the real question is: is there a way to create different tables every time I call a function?
def criarnovarodada():
cursor.execute("""
CREATE TABLE rodada1 (id, rodada, texto, autor);
""")
Now, I created the cursor.execute, now I would like to create a table called "round2", but using the same function "criarnovarodada". How to proceed?