Skip to content

Commit 839739b

Browse files
authored
Update words_dictionary.py
1 parent b1c093e commit 839739b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Python_Begginer_Projects/Intermediate/words_dictionary.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,18 @@ def Main():
3737

3838
if user_choice in options:
3939
word = input('Enter a word: ')
40+
4041
if user_choice == 1:
4142
Meaning(word)
4243
elif user_choice == 2:
4344
Synonym(word)
4445
else:
4546
Antonym(word)
47+
4648
elif user_choice == 4:
4749
Quit()
4850
break
51+
4952
else:
5053
print('Enter a choice(1-4)')
5154

@@ -54,10 +57,5 @@ def Main():
5457

5558
print('')
5659

57-
58-
59-
60-
61-
62-
63-
Main()
60+
# Calling the main function
61+
Main()

0 commit comments

Comments
 (0)