Answer the question
In order to leave comments, you need to log in
How to get a variable in its normal form?
Hello, I'm facing the following problem:
def check_balance(self, user_id):
with self.connection:
coin = self.cursor.execute("SELECT `coin` FROM `subscriptions` WHERE `user_id` = ?", (user_id,)).fetchone()
return coin
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question