Question: In python In order to play Wordle, we need to first know the list of valid words ( i . e . the dictio -

In python
In order to play Wordle, we need to first know the list of valid words (i.e. the dictio-
nary). If we know the dictionary we are playing with, then we know what words are
valid guesses to make, and we also know that the answer must be one of the words in
it.
Therefore, to get us started, write a program that takes as input a number of words
(one on each line), stores the words for later use, and then outputs the total size of the
dictionary.
Input
Input consists of a series of five letter words, one per line. Each word is written in
uppercase. The end of the dictionary is indicated by the string ## which should not be
included in the dictionary. The dictionary is guaranteed to contain at least one word.
Output
Output the size of the dictionary we are playing with.
Example Input-Output Pairs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!