This commit is contained in:
Auric Vente 2024-07-28 21:47:05 -06:00
parent 18c62a0020
commit bbf0ff0954
1 changed files with 1 additions and 6 deletions

View File

@ -179,12 +179,7 @@ class Utils:
@staticmethod @staticmethod
def random_words(num: int = 1, noun: bool = True, adj: bool = True) -> list[str]: def random_words(num: int = 1, noun: bool = True, adj: bool = True) -> list[str]:
return [ return [Utils.random_word(noun=noun) for _ in range(num)]
Utils.random_word(
noun=noun,
)
for _ in range(num)
]
@staticmethod @staticmethod
def capitalize(word: str) -> str: def capitalize(word: str) -> str: