back = types.InlineKeyboardMarkup(row_width=2)
bac = types.InlineKeyboardButton("Запросить код✅", callback_data='zap')
back.add(bac)
conn = sqlite3.connect('users.db')
cursor = conn.cursor()
cursor.execute('SELECT zakaz FROM users')
while True:
us_id = cursor.fetchone()
if us_id == None:
break
elif us_id != None:
id = us_id[0]
id != None
print(id)