TORONTO KIDS COMPUTER CLUB | PMCA Sunday 16:00 Python Homework 20.02.09.
17075
post-template-default,single,single-post,postid-17075,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

PMCA Sunday 16:00 Python Homework 20.02.09.

14 Feb PMCA Sunday 16:00 Python Homework 20.02.09.

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.