The reason is quite simple, tkinter
uses tcl
and it does not know what python list
or tuple
are, and it is tcl
way of reading tuples/lists by putting it inside {}
like you noticed, so convert it to a string, like:
ans1 = (*map(str,spell), "")
blank4.insert(0, ' '.join(ans1))
Similarly do so for all the places where this is curly braces seen.