Draw a tower of a castle.
★★☆A tower of a castle has a battlement. The battlement has a number of merlons, the solid upright low wall sections. The space between the merlons is called a crenel. A series of merlons and crenels is called a crenellation. Merlons were used in medieval fortifications to protect the defenders from enemy fire and to allow them to launch projectiles from behind the cover.
Write a program to draw a single tower with a variable number of merlons.
Remember to add a comment before a subprogram, condition or iteration to explain its purpose.
Complete the subprogram called draw_tower that:
merlons to determine the number of merlons that should be drawn.
Complete the subprogram called draw_merlon that:
Typical inputs and outputs from the program would be:
draw_tower(4)