There is problem with my code:
if db_connection:
cur_bal = db_connection. \
cursor(). \
execute(f"""
select x from A
where x > {bound * 2};
"""). \
fetchone()[0]
Python is writing: 'NoneType' object is not subscriptable. What's wrong with this?
I think that problem with fetchone()[0] but I don't know exactly