def markembling(talkative=True):
 colour = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
 if talkative:
  print ('Your randomly created colour is: #%x%x%x' % colour)
 return colour

def markembling ( talkative = True ) : colour = ( random . randint ( 0 , 255 ) , random . randint ( 0 , 255 ) , random . randint ( 0 , 255 ) ) if talkative : print ( 'Your randomly created colour is: #%x%x%x' % colour ) return colour
generate a random colour as a tuple and optionally print it .