TORONTO KIDS COMPUTER CLUB | Tuesday Python Homework 18:30 – 22.04.19.
20566
post-template-default,single,single-post,postid-20566,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

Tuesday Python Homework 18:30 – 22.04.19.

24 Apr Tuesday Python Homework 18:30 – 22.04.19.

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.