'''Use Pillow and random module to display a random color to the user''' # import the Pillow Image type from PIL import Image import random # create a d by d canvas on which to paint our image d = 300 # unit depends on your display, and will take up 300 units of screen space, which can vary from dimensions = ( d, d ) # dimensions needs to be an ordered pair in parentheses # uncomment the seed for everyone to get the same color # random.seed("elizabeth") # Start coding here # colors can be defined by their name RGB ordered pair # RGB values always need to be in the range [ 0, 255 ] color = (..., ..., ...) image0 = Image.new( 'RGB', dimensions, color ) image0.show()