Answered step by step
Verified Expert Solution
Question
1 Approved Answer
python please print and input (DUNTI DUNIY UDOUIN YUYUNUN YUUI DIY YUI PIINIUUITIUILIINIUUDUVUNJUGU.NIJILUU, UJUNILICJI LUJUPIUVIULUN INIC spec, on the differ, and on gradescope) Below are
python please print and input
(DUNTI DUNIY UDOUIN YUYUNUN YUUI DIY YUI PIINIUUITIUILIINIUUDUVUNJUGU.NIJILUU, UJUNILICJI LUJUPIUVIULUN INIC spec, on the differ, and on gradescope) Below are several examples of this program running with different input values provided. Wright flyer size: #---------# --------- H I L T %H% TILL H | H | | | ** ***H*** | **| | | | H I L II %% | L H SSSSSSSSSSSSSSSSSS===% H EESSSSSSSSSSSSSSSSSS Wright flyer size: #------- #-- -- H L LL LLL LL %H% LL LLL LLL H LL LL %H% LH H L L 1**/**%H%**/**L LLLL H H | I | | | | | | %1% IL L LLL LLL H H L L %H% 1L LLL LH Notice that the overall size of the flyer changes both in heights and width as the size value changes. The number of rows between the bottom and middle layer, and then the middle and top layer, should be calculated. The formula to follow is: (size / 6) + 1 Another "trick" to getting this correct is figuring out how much whitespace to put before the front and back portions of the flyer. The number of white spaces can change depending on the size input, so you'll have to use some basic math and reasoning skills to figure out the formula! In this program, you will print out ascii art of the wright brother's flyer (airplane). It will print out a top-down view of the flyer. Name your program flyer.py. Your program should ask the user for just one number: The size of the flyer. The program should support any size between 1 and 15. # --------- #---------# ==== === === ==== ============== === ========= === ===== H II II II %H% TTTTTTT H | I | I | |**/**%H%**** H TILL I TI %H% TTTTTTT == ===== ==== ===== ======= == ===== == =% %== = = Number of "panels" on each size = (size * 1.2) Width of tail = (size * 2 + 1) Front width = 11 For the spacing indicated by the red arrows, you'll have to also come up with a way yo make the parts of the flyer line up correctly. (Don't worry about trying to make your wright flyer printout match the above image. Instead, use the test cases provided in the spec, on the differ, and on gradescope) Below are several examples of this program running with different input values provided. Wright flyer size: #---------# #---------# H | I %H% 1L LL H H **|**%H%** **| L | H H | I | %1% 1 L L H =EEEEEEEEEEEEEEEE E EEEEEEEEEEEEEEEEEE ######### (DUNTI DUNIY UDOUIN YUYUNUN YUUI DIY YUI PIINIUUITIUILIINIUUDUVUNJUGU.NIJILUU, UJUNILICJI LUJUPIUVIULUN INIC spec, on the differ, and on gradescope) Below are several examples of this program running with different input values provided. Wright flyer size: #---------# --------- H I L T %H% TILL H | H | | | ** ***H*** | **| | | | H I L II %% | L H SSSSSSSSSSSSSSSSSS===% H EESSSSSSSSSSSSSSSSSS Wright flyer size: #------- #-- -- H L LL LLL LL %H% LL LLL LLL H LL LL %H% LH H L L 1**/**%H%**/**L LLLL H H | I | | | | | | %1% IL L LLL LLL H H L L %H% 1L LLL LH Notice that the overall size of the flyer changes both in heights and width as the size value changes. The number of rows between the bottom and middle layer, and then the middle and top layer, should be calculated. The formula to follow is: (size / 6) + 1 Another "trick" to getting this correct is figuring out how much whitespace to put before the front and back portions of the flyer. The number of white spaces can change depending on the size input, so you'll have to use some basic math and reasoning skills to figure out the formula! In this program, you will print out ascii art of the wright brother's flyer (airplane). It will print out a top-down view of the flyer. Name your program flyer.py. Your program should ask the user for just one number: The size of the flyer. The program should support any size between 1 and 15. # --------- #---------# ==== === === ==== ============== === ========= === ===== H II II II %H% TTTTTTT H | I | I | |**/**%H%**** H TILL I TI %H% TTTTTTT == ===== ==== ===== ======= == ===== == =% %== = = Number of "panels" on each size = (size * 1.2) Width of tail = (size * 2 + 1) Front width = 11 For the spacing indicated by the red arrows, you'll have to also come up with a way yo make the parts of the flyer line up correctly. (Don't worry about trying to make your wright flyer printout match the above image. Instead, use the test cases provided in the spec, on the differ, and on gradescope) Below are several examples of this program running with different input values provided. Wright flyer size: #---------# #---------# H | I %H% 1L LL H H **|**%H%** **| L | H H | I | %1% 1 L L H =EEEEEEEEEEEEEEEE E EEEEEEEEEEEEEEEEEE #########Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started