0

I am sure many of you know the game 'Mastermind', the board game version, not the TV show. I have written a program for the game, but it seems very messy, coding and output. How can I tidy it up a bit?
Here is my game:
import random
colours=["Red", "Blue", "Green", "Yellow", "Black", "White"]
p...