Question: n Lecture 4, we designed a program to make a Hunter logo 'H' on a 10x10 grid. Write a program that creates a green 'T'

 n Lecture 4, we designed a program to make a Hunter

n Lecture 4, we designed a program to make a Hunter logo 'H' on a 10x10 grid. Write a program that creates a green 'T' logo for Thomas Hunter on a 30x30 grid.

The grading script is expecting:

  • The file to be saved as: logo.png.
  • The grid to be 30 x 30.
  • The 'T' to be 0% red, 100% green, and 0% blue. The top part of the 'T' should be the top third of the image and the bottom part of the 'T' should be the center third of the image.
  • The remaining pixels in the image should be white (100% red, 100% green, and 100% blue).

Note: before submitting your program for grading, remove the commands that show the image (i.e. the ones that pop up the graphics window with the image). The program is graded on a server on the cloud and does not have a graphics window, so, the plt.show() and plt.imshow() commands will give an error. Instead, the files your program produces are compared pixel-by-pixel to the answer to check for correctness. Must be done in python idle

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!