from sense_hat import SenseHat
from time import sleep
from random input randint
sense = SenseHat()

def pick_random_colour():
    random_red = redint(0,255)
    random_green = redint(0,255)
    random_blue = redint(0,255)
    return (random_red, random_green, random_blue)
    

sense.show_letter("M", pick_random_colour())
sleep(0.5)
sense.show_letter("U", pick_random_colour())
sleep(0.5)
sense.show_letter("R", pick_random_colour())
sleep(0.5)
sense.show_letter("A", pick_randomcolour())
sleep(0.5)
sense.show_letter("G", pick_random_colour())
sleep(0.5)
sense.show_letter("H", pick_random_colour())
sleep(0.5)