Rock Paper Scissors in Python
Yes/no handling
Don't repeat yourself or reinvent the wheel. There already exists a distutils.util.strtobool that does exactly what you're trying to accomplish:

Convert a string representation of truth to true (1) or false (0).
True values are y, yes, t, true, on and 1; false values are n, no, f, false, off and 0. Raises ValueError if val is anything else.

You can convert the string to lowercase beforehand. Since strtobool raises a ValueError, your yes/no handling can be written succinctly like so:
while True:
    try:
        question=input('\033[0;0m' + &quot;Would you like to play again? &quot;)
        i = not strtobool(question)
        break
    except ValueError:
        print('\033[;1m' + &quot;Please only enter yes or no. &quot;)

Notice that strtobool returns 1 for truthy values, yet for some reason you have i == 0 represent &quot;keep going&quot;, which is confusing. So I used not here, but I recommend either changing that or using proper bools here for readability.