Question: Your Task In this assignment, you will design and implement a word printing program for the client that allows users to input a valid word,
Your Task
In this assignment, you will design and implement a word printing program for the client that
allows users to input a valid word, then the program will print the word in a n x n columns
x rows grid.
Functional Requirements
The program should be implemented in Python. The client has specified the following
requirements for the functionality of the program:
The program should be running without errors throughout two Phases: Information
Gathering and Information Presenting.
Information Gathering is to gather the information from users such as a valid word
valid inputs: any single word only including letters CATDO and G
one letter can appear more than once in the word, case insensitive and a breakword
to break the iteration valid inputs: END case sensitive
If the user enters nothing or invalid input eg or abc the program
should alert an error message by a print function and then ask the user to reenter. The
process should iterate until a valid input is entered.
Figure : Part of valid words in n x grid
Information Presenting is to present the outcome. Once receiving a new valid word
from users, the program should print the word in a n x grid one word each time,
one space between different letters. For example, each letter is presented in a x
grid. A word with three letters will be in a x grid as Figure No extra space
between the two letters
The program will continue to ask the user to enter a word until the breakword END
is entered as the input and the program stops.
The word presented in the n x grid should be the same as the letterword in Figure
pay attention to the index value for each Do not show the table and index
number. Just show the word using
The code for the word should be organized efficiently with iterations and conditionals
as the sample solution of Practice question b Just printing the word one line by
one line using print is not acceptable.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
