00:01
In this question, we have to write a code in python that will help us to create a number of word games that are combined into a one menu for the user to choose.
00:11
So we have to write a code in python and we have to create a number of word game of word game.
00:27
So in this that are combined into one menu for the user to choose.
00:34
So many such games can be solved by iterating through a file of words while checking for characteristics that are specified by the game.
00:43
So these words will be supplied by the dictionary .txt file.
01:03
So in this the words will implement as the longest word in the dictionary containing the letters from the string.
01:13
Then we have to print the words with the less with the maximum length that do not contain any of the letters in the input string.
01:21
So we have to see what or how we will write this question as everything that is there is given to us in the question itself.
01:30
So we will have a look at the basic compiler on how we will write this question.
01:35
So first we have to look at the function definitions.
01:38
So first we will define functions for each option that is there.
01:43
So i'll just define them all at once so that we can it can be explained easily.
01:50
So as you can see here we have defined functions for each game option that is there that is find the longest word and find words with maximum length then find words with single vowel and find words with all vowels and find palindromes with letter.
02:07
So these functions will contain the specific logic for each game option.
02:12
For now we have left them empty with the pass statement.
02:17
So we will need to implement the functionality for each game inside these functions.
02:22
So now we have to open the dictionary file.
02:25
So we open the dictionary file at the beginning of the program using an open function.
02:30
So let us use an open function to open the dictionary file.
02:35
So like this we will use the open function in this way to open the dictionary file.
02:41
Now we will use a while true statement that will print all of these above options for the user.
02:50
So as you can see this loop it will contain the all the options that are there.
02:58
So this will enter a while true loop...