fix typo
This commit is contained in:
parent
5108346a46
commit
874d4c744a
2
main.py
2
main.py
@ -80,7 +80,7 @@ def phrases(n: int = 4, nouns: int = 1, adjs: int = 2, pw: bool = False):
|
||||
if pw:
|
||||
# ps = [ "".join(p)[:-1] for p in [ [word + char for word, char in zip(p, [random_char() for w in p])] for p in phrases ] ]
|
||||
ps = [
|
||||
"".join([w.capitalize() for w,i in enumerate(p) if i > 0])
|
||||
"".join([w.capitalize() for i,w in enumerate(p) if i > 0])
|
||||
+ random_char()
|
||||
+ f"{random.randint(0,999):03d}"
|
||||
for p in phrases
|
||||
|
Loading…
Reference in New Issue
Block a user