Python Sql query variable not calling the values

visit shbcf.ru