TORONTO KIDS COMPUTER CLUB | Aurora Monday 18:30 Python Homework 20.05.11.
17497
post-template-default,single,single-post,postid-17497,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Aurora Monday 18:30 Python Homework 20.05.11.

14 May Aurora Monday 18:30 Python Homework 20.05.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.