Question: Make sure you dont use any string multiplication and any functions are not permitted. Problem: In this assignment, you will write a Python program that


Make sure you dont use any string multiplication and any functions are not permitted.
Problem: In this assignment, you will write a Python program that prints the banner character H made up of a number of , characters. The width and height of the character are accepted from the keyboard. The program prompts for these two values until width is divisible by 4 and height is divisible by 8. The dimensions of the various parts of the H are as below 1) The two vertical bars are identical in size and are aligned at the top rows. 2) The middle bar is centered vertically in the two vertical bars. 3) The vertical bars are height characters high. The vertical bars are width/4 characters wide. 4) 5) The width of the horizontal bar (including the portions from the two vertical bars) is width. 6) The height of the horizontal bar is height/4. The code must meet the following requirements 1) It must employ nested loops effectively 2) String multipliers (example: "A" * 4) cannot be used. 3) The only functions allowed are input(), range(), int(), and print) See the following interaction. Problem: In this assignment, you will write a Python program that prints the banner character H made up of a number of , characters. The width and height of the character are accepted from the keyboard. The program prompts for these two values until width is divisible by 4 and height is divisible by 8. The dimensions of the various parts of the H are as below 1) The two vertical bars are identical in size and are aligned at the top rows. 2) The middle bar is centered vertically in the two vertical bars. 3) The vertical bars are height characters high. The vertical bars are width/4 characters wide. 4) 5) The width of the horizontal bar (including the portions from the two vertical bars) is width. 6) The height of the horizontal bar is height/4. The code must meet the following requirements 1) It must employ nested loops effectively 2) String multipliers (example: "A" * 4) cannot be used. 3) The only functions allowed are input(), range(), int(), and print) See the following interaction
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
