Question: Create a function named main() with no parameters and put the following code in it. Notice that this code calls two functions draw_E() and draw_L()

Create a function named main() with no parameters and put the following code in it. Notice that this code calls two functions draw_E() and draw_L() with the parameters width and height to draw the two banner characters for E and L. letter = input("Enter letter ")

while letter == "E" or letter == "L":

width = int(input("Enter width: "))

height = int(input("Enter height: ")) if letter == "L":

draw_L(width, height)

else:

draw_E(width, height)

letter = input("Enter letter ")

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!