result_Pyaterechka = cur_Pyaterochka.execute("""SELECT * FROM users_id""").fetchall()
# Вывод результатов на экр
count = 0
for i in range(1):
for pe in result_Pyaterechka:
print('')
peremenna_user_id_Pyaterechka = peremenna_user_id_Pyaterechka + str(pe[1])
print(peremenna_user_id_Pyaterechka, 9099090)
peremenna_user_id_Pyaterechka = peremenna_user_id_Pyaterechka + str(pe[1])
UnboundLocalError: local variable 'pe' referenced before assignment
str(pe[1])
for pe in result_Pyaterechka:
print('')
peremenna_user_id_Pyaterechka = peremenna_user_id_Pyaterechka + str(pe[1])