def c(colour, text):
 colours = {'r': r, 'g': g, 'y': y, 'b': b, 'p': p}
 return ((colours[colour] + text) + w)

def c ( colour , text ) : colours = { 'r' : r , 'g' : g , 'y' : y , 'b' : b , 'p' : p } return ( ( colours [ colour ] + text ) + w )
return coloured text .