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
Get step-by-step solutions from verified subject matter experts
