Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ def generate_random_password(length):
|
|
| 10 |
# 利用 random.choice 随机选择 length 个字符生成密码
|
| 11 |
password = "".join(random.choice(characters) for _ in range(length))
|
| 12 |
|
|
|
|
| 13 |
return password
|
| 14 |
|
| 15 |
|
|
|
|
| 10 |
# 利用 random.choice 随机选择 length 个字符生成密码
|
| 11 |
password = "".join(random.choice(characters) for _ in range(length))
|
| 12 |
|
| 13 |
+
print(password)
|
| 14 |
return password
|
| 15 |
|
| 16 |
|