Aug-12-2019, 05:07 AM
(Aug-12-2019, 04:00 AM)Psypher1 Wrote: I'm assuming that's where the issue isThe error message gives you detailed information where and what is wrong.
So when asking for help providing this error message is a vital thing to do.
Without we can only guess that likely here
elif item == 1: colored_row += Fore.GREEN + ' X ' + + Style.RESET_ALL elif item == 2: colored_row += Fore.MAGENTA + ' O ' + + Style.RESET_ALLyou need to convert the constants Fore.<color> and Style.RESET_ALL into strings
OR if these are strings than the error is due to the double + + in these lines.
elif item == 1: colored_row += str(Fore.GREEN) + ' X ' + str(Style.RESET_ALL) elif item == 2: colored_row += str(Fore.MAGENTA) + ' O ' + str(Style.RESET_ALL)