import turtle eng=["red","yellow","blue","green","orange","purple","white","gray"] ukr=["червоний","жовтий","blue","green","orange","purple","white","gray"] a=turtle.textinput("Cлово " ,4) if a in eng: x=eng.index (a) turtle.write(eng[x]+" "+ukr[x],align='center',font=(20,30)) else: turtle.write("немає в списку")