тест
from tkinter import *
win = Tk()

win.title('Тест по математике')
win.geometry('500x300')

test=['Сколько фильмов с Райаном Гослингом ты знаешь? (подсказка: хотя бы 4) ','Примерный возраст Райана Гослинга на 2025 год? ',
      'Сколько детей у Райана Гослинга? ',
      ]
ura=['4','44','2']
ind=0

quest=Label(text=f'{test[ind]}', font='Impact 10')
quest.place(x=10,y=100)
tek_hod=ind+1
all_quest=len(test)

bar=Label(text=f'{tek_hod}/{all_quest}', font='Impact 10')
bar.place(x=450,y=10)

name=Label(text='©TutorONE', font='Arial 7')
name.place(x=220,y=280)

user=Entry(font='Impact 20', width=33)
user.place(x=10, y=150)

count=0
def next_c():
      global ind,tek_hod,count
      if user.get() == ura[ind]:
            count+=1
      user.delete(0,END)
      ind+=1
      tek_hod=ind+1

      if ind<len(test):
            quest['text']=f'{test[ind]}'
            bar['text']=f'{tek_hod}/{all_quest}'
      else:
          bar.destroy()
          user.destroy()
          next.destroy()
          quest['text']=f'Ты набрал - {count}'
next=Button(text='далее', width=10,command=next_c)
next.place(x=400, y=200)
win.mainloop()