From 874d4c744a7e8852dab8733b903b6ea1f98518d3 Mon Sep 17 00:00:00 2001 From: julius Date: Sun, 18 Jun 2023 13:11:37 +0000 Subject: [PATCH] fix typo --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e98b0c6e..04516e56 100644 --- a/main.py +++ b/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