TORONTO KIDS COMPUTER CLUB | Tuesday 17:00 Python Practice – 22.10.11.
21248
post-template-default,single,single-post,postid-21248,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

Tuesday 17:00 Python Practice – 22.10.11.

15 Oct Tuesday 17:00 Python Practice – 22.10.11.

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.