0

Having some problems with INDEX that I figure printing variable content to console will help me solve. BUT no matter what I try, print(variable) doesn't result in anything at all on the console/terminal.

cash = db.execute("SELECT cash from USERS where id = ?", user_id)
print(cash)

Your help is greatly appreciated! :-)

1 Answer 1

1

The console log is very "busy", especially if there is a traceback. Suggest you make the output stand out more. Something like print("YOU ARE HERE>>>>>>: ",cash). Adding newlines ("\n" before and after the text may give additional visual cues.

1
  • Great advice, thank you. Commented Jan 21, 2022 at 17:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .