Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please finish this in python In Lecture 3, we designed a program to make a Hunter logo 'H' on a 10x10 grid. Write a program

please finish this in pythonimage text in transcribed

In Lecture 3, we designed a program to make a Hunter logo 'H' on a 10x10 grid. Write a program that creates a red 'U' logo for University 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 'U' to be 100% red, 0% green, and 0% blue. The lower part of the 'U' should be the lower third of the image; the left part of the 'U' should be the left third of the image; and the right part of the 'U' should be the the right 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. Hint: See notes from Lecture 3. (Lecture slides can be found on the course outline)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions