CODE IN PYTHON PROGRAMMING LANGUAGE
Write a program that uses turtle graphics to display a snowman,similar to the one shown in the figure. Use a screen size of600x600 pixels. In addition to a main function, the program shouldalso have the following functions:
drawBase. This function should draw the base of the snowman,which is the large snowball at the bottom. Have start location andradius as inputs to the function.
drawMidSection. This function should draw the middle snowball.Have start location and radius as inputs to the function.
drawArms. This function should draw the snowman’s arms. Havestart location of arms and starting angle as inputs to thefunction.
drawHead. This function should draw the snowman’s head, witheyes, mouth, andother facial features you desire. Have startlocation and radius as inputs to the function. Check that functionlocates eyes and mouth correctly for different radius inputs.
drawHat. This function should draw the snowman’s hat. Have hatcolor as an input to the function. Allow “black”, “blue”,“geen”
drawGround. This function should draw a horizontal line torepresent the ground. Inputs to the function should be location andlength of line.
drawTree. This function should draw the tree. Have startlocation of tree base, number of triangles and tree scale in % asinputs to your function. Make your triangles green with greenborders.
Think of using basic building block functions such asdraw_rectangle, draw circle, and draw_triangle to help you createthe more complex functions above.