xy pointstopaint pop(canvas[(xy)colortopaint if canvas[( )=whitepointstopaint add(( )if canvas[( )=whitepointstopaint add(( )if canvas[(xy )=whitepointstopaint add((xy )if canvas[(xy )=whitepointstopaint add((xy )draw the canvas data structurefor in range(height)for in range(width)bext bg(canvas[(xy)]print('end=''print(prompt user to create new onetryinput('press enter for another work of artor ctrl- to quit 'except keyboardinterruptsys exit(after entering the source code and running it few timestry making experimental changes to it on your ownyou can also try to figure out how to do the followingcreate programs with different color palettes use the pillow module to produce image files of mondrian art you can learn about this module from of automate the boring stuff with python at exploring the program try to find the answers to the following questions experiment with some modifications to the code and rerun the program to see what effect the changes have what error happens if you change canvas[(xy)white on line to canvas[(xy)red what happens if you change print('end=''on line to print(' 'end='')mondrian art generator