Mods
This commit is contained in:
parent
18c62a0020
commit
bbf0ff0954
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue