all words that exist in intact list will be capitalised

This commit is contained in:
Your Name 2021-01-27 20:25:21 +01:00
parent f2b07b31ef
commit 92f510c727

2
api.py
View File

@ -53,6 +53,8 @@ def build_word_dict():
for item in wordList:
if item not in intact:
item = item.lower()
if item.upper() in (word.upper() for word in intact):
item = item.capitalize()
if (len(item)-1) >= y:
addKey = str(y) + item[y]
if addKey not in toChooseFrom.keys():