How to create n x 8 grid with valid words in python 3 the only valid words are P, S, W, M, A, H. If word consists of multiple characters, two adjacent characters should have blank column between them. Use iterations, conditions, print functions, show the word using * in the n x 8 grid.
How to create n x 8 grid with valid words in python 3
the only valid words are P, S, W, M, A, H. If word consists of multiple characters, two adjacent characters should have blank column between them. Use iterations, conditions, print functions, show the word using * in the n x 8 grid.
Step by step
Solved in 4 steps with 2 images
Valid letters in this order only, P, S, W, M, A, H and need break word to break the iteration, valid input is END.
If user enters wrong invalid input or nothing, error alert message should come up and ask user to re enter. Process should iterate until valid input entered.
Break word to break iteration, only valid input is END
Error message should come up by a print function if enter wrong input eg 12, 5.6 and ask user to re enter
Show