list = [1, 2, 3, 4, 5, 6, 7, 8]
for i in list:
def not_eight():
if i != 8:
return continue
else:
return break
btn = Button(window, text="Продолжить", command=next)
def not_eight():
if i != 8:
return continue
else:
return break
list = [1, 2, 3, 4, 5, 6, 7, 8]
for i in list:
not_eight()