TORONTO KIDS COMPUTER CLUB | Markham Saturday 9:30 Python Homework 20.05.23.
17551
post-template-default,single,single-post,postid-17551,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Markham Saturday 9:30 Python Homework 20.05.23.

28 May Markham Saturday 9:30 Python Homework 20.05.23.

Question:

Eric works in a door mat manufacturing company. One day, he designed a new door mat with the
following specifications:
◦ Mat size must be A x B. (A is an odd natural number, and B is 3 times A.)
◦ The design should have ‘WELCOME’ written in the center.
◦ The design pattern should only use |, . and – characters.


Sample Designs
Input:
7 x 21

output:

input:
11 x 33

Output:

No Comments

Sorry, the comment form is closed at this time.